Skip to content

Instantly share code, notes, and snippets.

@bianpratama
Last active August 2, 2018 09:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bianpratama/e0438084b29ae009f25d2072e5423c70 to your computer and use it in GitHub Desktop.
Save bianpratama/e0438084b29ae009f25d2072e5423c70 to your computer and use it in GitHub Desktop.
Git

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 is now working"`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment