Parcourir la source

Add git push aliases

Thomas Dy il y a 5 ans
Parent
commit
f7e0c0b3ae
1 fichiers modifiés avec 3 ajouts et 1 suppressions
  1. 3 1
      .config/git/config

+ 3 - 1
.config/git/config

@@ -8,10 +8,12 @@
 [diff]
 	algorithm = patience
 [push]
-	default = matching
+	default = simple
 [alias]
 	root = !pwd
 	assume   = update-index --assume-unchanged
 	unassume = update-index --no-assume-unchanged
 	assumed  = "!git ls-files -v | grep ^h | cut -c 3-"
 	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
+	pof = push origin --force-with-lease