abhiramr / github-school

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is a repository to teach GIT commands.

04/12/2018 :

Demoed following commands using this repo as the guinea pig -

  • pull
  • push
  • commit
  • checkout
  • rebase
  • reset
  • revert
  • log
  • remote
  • set-url

Resources that will help (In no particular order)

Misc Notes / Comments -

  • git log --oneline
  • git log --pretty=format:"%h - %an, %ar : %s" (ar indicates relative author time of commit)
  • git log --pretty=format:"%h - %an, %ai : %s" (ai indicates exact author time of commit)

About