mirror of
https://github.com/jorgebucaran/fisher
synced 2024-10-13 09:46:52 +02:00
12 lines
288 B
Fish
12 lines
288 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 -d --force
|
|
end ^ /dev/null
|
|
|
|
popd
|
|
end
|