Parcourir la source

fixed remote add

master
Robin Thoni il y a 8 ans
Parent
révision
7615f6297f
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      git-backup

+ 1
- 1
git-backup Voir le fichier

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

Chargement…
Annuler
Enregistrer