Skip to content

Instantly share code, notes, and snippets.

@prashanta
Last active August 3, 2016 04:26
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 prashanta/c506262c71748b249e3aa10747587f08 to your computer and use it in GitHub Desktop.
Save prashanta/c506262c71748b249e3aa10747587f08 to your computer and use it in GitHub Desktop.
Reoccurring Git Commands

Some reoccurring git commands

  • Graphical git log

    git log --graph --oneline --decorate

  • Difference between local file and remote

    git diff origin/master path/to/file.ext

  • Delete local and remote tag

    git tag -d v1.4.1

    git push origin :refs/tags/v1.4.1

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