Browse Source

github: always push via ssh

https://git-scm.com/docs/git-config#Documentation/git-config.txt-urlltbasegtpushInsteadOf
Fabian Peter Hammerle 4 năm trước cách đây
mục cha
commit
9a5981bf3e
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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