Answers for "how to ignore file while push in git"

1

git ignore still sending files

# First save your changes to a branch on the remote repo
# If you don't have changes skip these three
git add .
git commit -m "commit message"
git push origin [branchname]
# Then remove all cached files
git rm -r --cached .
# Add all the files back in 
git add .
# The files you added to the .gitignore should now be greyed out in
# the file explorer window if you're using vscode
Posted by: Guest on August-13-2021
0

how to add filer to git ignore

go to the gitignore file, add the name of the file to ignore
Posted by: Guest on February-09-2021

Code answers related to "how to ignore file while push in git"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language