Chris Schammert
Github Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

đŸ’ģ Git Pro


Notes from before 2022

Git Pro was written by Ben Straub, and Published by Apress

  • git tag

Extended info

  • git show v1.4

Adding tags to older commits (parse first)

  • git log --pretty=oneline

    example output: 9fceb02… updated rakefile

Append the tag

to: [updated rakefile] commit

  • git tag -a v1.2 9fceb02

Sharing tags

  • git push origin v1.5

All the tags all at once

  • git push origin --tags

Even more info

  • git checkout 2.0.0

    Read PG. 59 if needed…

Resources