Stash changes and pull rebase to update. Fix #103

This commit is contained in:
Jorge Bucaran 2016-02-23 14:47:28 +09:00
parent 0bc883f80c
commit 5271b14975
No known key found for this signature in database
GPG key ID: E54BA3C0E646DB30

View file

@ -1,10 +1,10 @@
function __fisher_path_update -a path
pushd $path
debug "Update repository '%s'" "$path"
git checkout master --quiet ^ /dev/null
git checkout master --quiet
git stash --quiet
git pull --rebase origin master --quiet
git stash apply --quiet
popd
end