Home Blog Certs Knowledge Base About

Git

Git reference: everyday commands, rebase, stash, reset, cherry-pick, working with remotes. Useful aliases and patterns.
๐Ÿšง
Content in development

Planned:

  • Basics โ€” add, commit, push, pull, fetch, status, log, diff
  • Branches โ€” branch, checkout, switch, merge, rebase
  • Stash โ€” push/pop/list/drop, stash with a message
  • Reset โ€” soft/mixed/hard, reverting commits
  • Cherry-pick โ€” porting commits, -n without committing
  • Remotes โ€” add, remove, fetch, push –force-with-lease
  • Tags โ€” creation, push, annotated vs lightweight
  • Bisect โ€” finding the commit that introduced a bug
  • Reflog โ€” recovering deleted commits
  • Useful aliases and git log --oneline --graph