diff --git a/dup b/dup index acfde75..1f3dd5f 100755 --- a/dup +++ b/dup @@ -29,6 +29,8 @@ function do_pull() { git pull --rebase git push [ -n "$do_stash" ] && git stash pop || true + else + git pull fi }