Przeglądaj źródła

fixed remote add

master
Robin Thoni 10 lat temu
rodzic
commit
7615f6297f
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      git-backup

+ 1
- 1
git-backup Wyświetl plik

4
 
4
 
5
 initPath()
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
 if [ $# -eq 1 ] && [ "$1" = "--init" ]
10
 if [ $# -eq 1 ] && [ "$1" = "--init" ]

Ładowanie…
Anuluj
Zapisz