mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2025-02-27 21:35:26 +08:00
8 lines
171 B
Fish
8 lines
171 B
Fish
![]() |
function omf_util_sync -a remote
|
||
|
set -l repo $remote
|
||
|
set -q argv[1]; and set repo $argv[1]
|
||
|
|
||
|
git fetch origin master
|
||
|
git reset --hard FETCH_HEAD
|
||
|
git clean -df
|
||
|
end
|