ソースを参照

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" ]

読み込み中…
キャンセル
保存