/gitconfig

:panda_face: My .gitconfig

GITCONFIG

🐼 It's just my .gitconfig

Alias

  • lg1, lg, graph, gp, pg
    • Show the list of git commits with HASH SHA and short date
  • lg2
    • Show the list of git commits with HASH SHA and long date
  • st
    • "status"
  • cm
    • "commit -m"
    git commit -m "add file"
    # is equal to
    git cm "add file"
  • cmm
    • "git commit --amend -m"
  • cmd
    • "git commit --amend"
  • df
    • "diff"
  • dfs
    • Show the diff of files on the stage.
    • "diff --staged"
  • co
    • "checkout"
  • start
    • flow feature start
  • finish
    • flow feature finish
  • undo
    • Undo the last commit
    • is "reset --soft HEAD~1"