Browse Source

github: always push via ssh

https://git-scm.com/docs/git-config#Documentation/git-config.txt-urlltbasegtpushInsteadOf
Fabian Peter Hammerle 3 weeks ago
parent
commit
9a5981bf3e
1 changed files with 3 additions and 0 deletions
  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