Update
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
function git-clone-gitea
|
||||
git clone ssh://git@ataraxy.tk:399/Kevin-Mok/$argv[1].git
|
||||
git clone ssh://git@kevin-mok.com:399/Kevin-Mok/$argv[1].git
|
||||
end
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
function git-push-new-gitea
|
||||
git remote add $argv[1] ssh://git@ataraxy.tk:399/Kevin-Mok/$argv[2].git
|
||||
git remote add $argv[1] ssh://git@kevin-mok.com:399/Kevin-Mok/$argv[2].git
|
||||
and git push --set-upstream $argv[1] master
|
||||
end
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
function git-replace-origin-gitea
|
||||
git remote remove origin
|
||||
and git remote add origin ssh://git@kevin-mok.com:399/Kevin-Mok/$argv[1].git
|
||||
and git branch --set-upstream-to=origin/master master
|
||||
and git push
|
||||
end
|
||||
Reference in New Issue
Block a user