commit 4c98d2206d5fd5f482b52f627d0ab108f90a11ba
parent 5c4fdc9b66e06e74046df5f78c459380e8c3be3c
Author: Georges Dupéron <georges.duperon@gmail.com>
Date: Tue, 21 Mar 2017 19:49:31 +0100
fixed fetch command
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/auto-push-master.sh b/auto-push-master.sh
@@ -38,7 +38,7 @@ else
ssh_repo_url="$(echo "$repo_url" | sed -e 's|^https://github.com/|git@github.com:|')"
commit_hash="$(git rev-parse --short HEAD)"
git log --oneline --decorate --graph -10
- git fetch auto-push
+ git fetch origin auto-push
git checkout auto-push
echo "$commit_hash" > commit_hash
git add commit_hash