Browse Source

Add some git aliases

Thomas Dy 5 years ago
parent
commit
486567e78f
1 changed files with 3 additions and 0 deletions
  1. 3 0
      .config/git/config

+ 3 - 0
.config/git/config

@@ -17,3 +17,6 @@
 	lg = "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%C(bold blue)<%an>%Creset' --abbrev-commit"
 	lg = "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%C(bold blue)<%an>%Creset' --abbrev-commit"
 	po = push origin
 	po = push origin
 	pof = push origin --force-with-lease
 	pof = push origin --force-with-lease
+	rom = rebase origin/master
+	riom = rebase -i origin/master
+	ca = commit --amend