소스 검색

fixed remote add

master
Robin Thoni 8 년 전
부모
커밋
7615f6297f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      git-backup

+ 1
- 1
git-backup 파일 보기

@@ -4,7 +4,7 @@ configFile=/etc/git-backup.conf
4 4
 
5 5
 initPath()
6 6
 {
7
-  cd "$1" && git init && git remote add git:backup/$(hostname)$(pwd)
7
+  cd "$1" && git init && git remote add origin git:backup/$(hostname)$(pwd)
8 8
 }
9 9
 
10 10
 if [ $# -eq 1 ] && [ "$1" = "--init" ]

Loading…
취소
저장