Quellcode durchsuchen

github: always push via ssh

https://git-scm.com/docs/git-config#Documentation/git-config.txt-urlltbasegtpushInsteadOf
Fabian Peter Hammerle vor 4 Jahren
Ursprung
Commit
9a5981bf3e
1 geänderte Dateien mit 3 neuen und 0 gelöschten Zeilen
  1. 3 0
      gitconfig

+ 3 - 0
gitconfig

@@ -41,6 +41,9 @@
 [push]
 	default = simple
 
+[url "git@github.com:"]
+	pushInsteadOf = https://github.com/
+
 [tag]
 	forceSignAnnotated = true