Skip to content

Latest commit

 

History

History
35 lines (29 loc) · 625 Bytes

git_often_used_command.md

File metadata and controls

35 lines (29 loc) · 625 Bytes

Git Often Used Command

alias

in fish.config

  • g <- git

Basic

in .gitconfig

  • g d diff
  • g co checkout
  • g ci commit
  • g st status
  • g br branch
  • g ba branch -a
  • g ps push origin HEAD
  • g pl pull origin HEAD
  • g hist Display the log of commits.
  • g llog Displays the files that have been changed.

cz

  • g cz

hub

  • g open !hub browse

tig

  • tig

github cli

  • g ci gh issue create --t title -b body
  • g cif gh issue -t title -F file path
  • g ciop gh issue create -w
  • g iop gh issue view -w issue number
  • g il gh issue list
  • g ilop gh issue list -w