Skip to content

Instantly share code, notes, and snippets.

@partho222
Created August 11, 2020 01:40
Show Gist options
  • Save partho222/e803249137ccd26869e9d4613512048c to your computer and use it in GitHub Desktop.
Save partho222/e803249137ccd26869e9d4613512048c to your computer and use it in GitHub Desktop.
//First commit any outstanding code changes, and then, run this command:
git rm -r --cached .
//This removes any changed files from the index(staging area), then just run:
git add .
//Commit
git commit -m ".gitignore initiated"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment