Skip to content

Instantly share code, notes, and snippets.

@ZieIony
Last active November 27, 2018 13:59
Show Gist options
  • Save ZieIony/c67ba4e9d803d6bb840e2cc9fd71a551 to your computer and use it in GitHub Desktop.
Save ZieIony/c67ba4e9d803d6bb840e2cc9fd71a551 to your computer and use it in GitHub Desktop.
useful git commands
git -c core.fileMode=false diff // ignore file mode change for this one command
git clean -i // remove unstaged files interactively
git rebase -i --root // rebase entire history interactively
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment