📜  git ignore 仍在发送文件 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:49:37.794000             🧑  作者: Mango

代码示例1
# 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