Skip to content

Instantly share code, notes, and snippets.

@Saanch
Created March 12, 2016 02:24
Show Gist options
  • Save Saanch/7b9bf281ad5adbe47bdc to your computer and use it in GitHub Desktop.
Save Saanch/7b9bf281ad5adbe47bdc to your computer and use it in GitHub Desktop.

Revisions

  1. Sanu Sathyaseelan created this gist Mar 12, 2016.
    6 changes: 6 additions & 0 deletions gitcommands.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    //To view the content of the commits
    git cat-file -p SHA -p

    //add tag
    git tag -a $tagname$ -m "$tag message$"