commit 0d7c25b112c9efd102a9f09a4ae4c493efc3f88f
parent 4c98d2206d5fd5f482b52f627d0ab108f90a11ba
Author: Georges Dupéron <georges.duperon@gmail.com>
Date: Tue, 21 Mar 2017 19:54:16 +0100
fixed checkout command
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/auto-push-master.sh b/auto-push-master.sh
@@ -39,7 +39,7 @@ else
commit_hash="$(git rev-parse --short HEAD)"
git log --oneline --decorate --graph -10
git fetch origin auto-push
- git checkout auto-push
+ git checkout origin/auto-push
echo "$commit_hash" > commit_hash
git add commit_hash
git commit -m "Request to auto-push $commit_hash to master" --allow-empty