소스 검색

github: always push via ssh

https://git-scm.com/docs/git-config#Documentation/git-config.txt-urlltbasegtpushInsteadOf
Fabian Peter Hammerle 4 년 전
부모
커밋
9a5981bf3e
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  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