Skip to content

Instantly share code, notes, and snippets.

@mostafabahri
Last active December 16, 2017 08:07
Show Gist options
  • Save mostafabahri/ab177dbda61f6ab499fc2533d99c27ba to your computer and use it in GitHub Desktop.
Save mostafabahri/ab177dbda61f6ab499fc2533d99c27ba to your computer and use it in GitHub Desktop.
Git tips and tricks
# display all commits that are in develop but not in master
git log master..develop
# remove file from git tracking
git rm --cached main.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment