Skip to content

Commit

Permalink
puts committing and pulling/ pushing on their own && chains
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNotary committed Jun 13, 2019
1 parent f360287 commit bbd1667
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gister.sh
Original file line number Diff line number Diff line change
Expand Up @@ -312,8 +312,8 @@ sync_gist() {
echo "DIRTY $gist_id"
else
echo "DIRTY $gist_id, auto committing"
git add . && git commit -m "automated update" && \
git pull > /dev/null && git push > /dev/null
git add . && git commit -m "automated update"
git pull > /dev/null && git push > /dev/null
fi
else
git pull > /dev/null && git push > /dev/null
Expand Down

0 comments on commit bbd1667

Please sign in to comment.