You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
fisher/functions/__fisher_path_update.fish

13 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