Skip to content

Instantly share code, notes, and snippets.

@menor
Last active August 29, 2015 14:03
Show Gist options
  • Save menor/b223ffb519c86f9210df to your computer and use it in GitHub Desktop.
Save menor/b223ffb519c86f9210df to your computer and use it in GitHub Desktop.
Git commands I keep searching for

git rm -r --cached <folder> Unstage a folder before a commit.
git commit --amend To change the message form the last commit.
git stash then git stash drop to delete all the unstaged and uncommited changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment