mirror of
https://github.com/Phantop/dotfiles
synced 2024-12-27 07:26:43 +00:00
Fish: Add function to reset git repo to remote
This commit is contained in:
parent
46684a85b1
commit
4e917c2259
5
.config/fish/functions/remotegit.fish
Normal file
5
.config/fish/functions/remotegit.fish
Normal file
|
@ -0,0 +1,5 @@
|
|||
# Defined in /tmp/fish.dVb8v4/remotegit.fish @ line 1
|
||||
function remotegit
|
||||
git fetch origin
|
||||
git reset --hard origin/master
|
||||
end
|
Loading…
Reference in a new issue