Update
This commit is contained in:
5
dot_config/fish/functions/git/git-replace-origin.fish
Normal file
5
dot_config/fish/functions/git/git-replace-origin.fish
Normal file
@@ -0,0 +1,5 @@
|
||||
function git-replace-origin
|
||||
git remote remove origin
|
||||
and git remote add origin $argv[1]
|
||||
and git push --set-upstream origin master
|
||||
end
|
||||
Reference in New Issue
Block a user