mirror of
https://github.com/jorgebucaran/fisher
synced 2024-11-09 07:10:27 +00:00
13 lines
289 B
Fish
13 lines
289 B
Fish
function __fisher_path_update -a path
|
|
pushd $path
|
|
|
|
if not git pull --quiet --rebase origin master
|
|
git rebase --abort
|
|
git fetch --quiet origin master
|
|
git reset --quiet --hard FETCH_HEAD
|
|
git clean --quiet -dx --force
|
|
end ^ /dev/null
|
|
|
|
popd
|
|
end
|