From af0110cb45972c3375912efd314a6fecd65efa0d Mon Sep 17 00:00:00 2001 From: admin <263303411@qq.com> Date: Tue, 23 Dec 2025 15:15:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20=E4=BB=8Egerrit=E7=9A=84?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE=EF=BC=8C=E7=BB=99gitea=E4=B8=8A=E5=90=8C?= =?UTF-8?q?=E6=AD=A5=E4=BB=A3=E7=A0=81=E6=97=B6=E5=80=99=E7=9A=84=E5=91=BD?= =?UTF-8?q?=E4=BB=A4=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...%99%E7%9A%84%E5%91%BD%E4%BB%A4%E3%80%82.md | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 %E4%BB%8Egerrit%E7%9A%84%E9%A1%B9%E7%9B%AE%EF%BC%8C%E7%BB%99gitea%E4%B8%8A%E5%90%8C%E6%AD%A5%E4%BB%A3%E7%A0%81%E6%97%B6%E5%80%99%E7%9A%84%E5%91%BD%E4%BB%A4%E3%80%82.md diff --git a/%E4%BB%8Egerrit%E7%9A%84%E9%A1%B9%E7%9B%AE%EF%BC%8C%E7%BB%99gitea%E4%B8%8A%E5%90%8C%E6%AD%A5%E4%BB%A3%E7%A0%81%E6%97%B6%E5%80%99%E7%9A%84%E5%91%BD%E4%BB%A4%E3%80%82.md b/%E4%BB%8Egerrit%E7%9A%84%E9%A1%B9%E7%9B%AE%EF%BC%8C%E7%BB%99gitea%E4%B8%8A%E5%90%8C%E6%AD%A5%E4%BB%A3%E7%A0%81%E6%97%B6%E5%80%99%E7%9A%84%E5%91%BD%E4%BB%A4%E3%80%82.md new file mode 100644 index 0000000..57da82e --- /dev/null +++ b/%E4%BB%8Egerrit%E7%9A%84%E9%A1%B9%E7%9B%AE%EF%BC%8C%E7%BB%99gitea%E4%B8%8A%E5%90%8C%E6%AD%A5%E4%BB%A3%E7%A0%81%E6%97%B6%E5%80%99%E7%9A%84%E5%91%BD%E4%BB%A4%E3%80%82.md @@ -0,0 +1,47 @@ +先设置远程链接的命令,提交完成后,再恢复之前的uri。 + +Lenovo@DESKTOP-VRME5EA MINGW64 /e/rjb/zhini_im (hotfix-crash) +$ git checkout master +Switched to branch 'master' +Your branch is up to date with 'origin/master'. + +Lenovo@DESKTOP-VRME5EA MINGW64 /e/rjb/zhini_im (master) +$ git remote -v +origin ssh://rw0067680@101.43.95.130:29418/zhini_im (fetch) +origin ssh://rw0067680@101.43.95.130:29418/zhini_im (push) + +Lenovo@DESKTOP-VRME5EA MINGW64 /e/rjb/zhini_im (master) +$ git remote set-url origin http://101.43.95.130:3001/admin/zhini_im.git + +Lenovo@DESKTOP-VRME5EA MINGW64 /e/rjb/zhini_im (master) +$ git remote -v +origin http://101.43.95.130:3001/admin/zhini_im.git (fetch) +origin http://101.43.95.130:3001/admin/zhini_im.git (push) + +Lenovo@DESKTOP-VRME5EA MINGW64 /e/rjb/zhini_im (master) +$ git push origin master +warning: use of unencrypted HTTP remote URLs is not recommended; see https://aka.ms/gcm/unsaferemotes for more information. +Enumerating objects: 3326, done. +Counting objects: 100% (3326/3326), done. +Delta compression using up to 8 threads +Compressing objects: 100% (2138/2138), done. +Writing objects: 100% (3326/3326), 156.91 MiB | 10.75 MiB/s, done. +Total 3326 (delta 922), reused 3326 (delta 922), pack-reused 0 (from 0) +remote: Resolving deltas: 100% (922/922), done. +remote: . Processing 1 references +remote: Processed 1 references in total +To http://101.43.95.130:3001/admin/zhini_im.git + * [new branch] master -> master + +Lenovo@DESKTOP-VRME5EA MINGW64 /e/rjb/zhini_im (master) +$ ^C + +Lenovo@DESKTOP-VRME5EA MINGW64 /e/rjb/zhini_im (master) +$ git remote set-url origin ssh://rw0067680@101.43.95.130:29418/zhini_im + +Lenovo@DESKTOP-VRME5EA MINGW64 /e/rjb/zhini_im (master) +$ git remote -v +origin ssh://rw0067680@101.43.95.130:29418/zhini_im (fetch) +origin ssh://rw0067680@101.43.95.130:29418/zhini_im (push) + +Lenovo@DESKTOP-VRME5EA MINGW64 /e/rjb/zhini_im (master)