Skip to content

Instantly share code, notes, and snippets.

@vigindian
Created April 27, 2023 06:43
Show Gist options
  • Save vigindian/83240e06820a272158cdff8f561257c0 to your computer and use it in GitHub Desktop.
Save vigindian/83240e06820a272158cdff8f561257c0 to your computer and use it in GitHub Desktop.
Remove files from git repo, that have been added to .gitignore after git upload
#remove files from git repo, that have been added to .gitignore after git upload
git rm -r --cached . && git add . && git commit -am "Remove ignored files"
git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment