Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 631 Bytes

git_aliases.md

File metadata and controls

20 lines (17 loc) · 631 Bytes

Git aliases

Requirements

  • Make sure you have this project installed. Read the installation process
  • Enable git aliases by adding the following lines of code to ~/.gitconfig:
[include]
    path = ~/.aliases/git_aliases

Git aliases

  • git co: shortcut for checkout
  • git graph: a nice tree with all the commits and their parents
  • git hist: a compact list of commits from the current branch
  • git restore: shortcut for checkout --
  • git unstage: shortcut for reset HEAD --