Files
build_infra/0_笔记/梯子/git
T
2026-06-16 10:23:51 +08:00

17 lines
645 B
Plaintext

git push origin main3:main --force 把你本地的 main3 分支直接覆盖推送到远程的 main 分支
git ls-remote --heads http://192.168.1.166:3000/bright/2503_HYXB.git
git ls-remote --heads http://192.168.194.166:3000/bright/2503_HYXB.git
测试网络代码
Test-NetConnection -ComputerName 192.168.194.166 -Port 3000
S C:\Users\wyc> netstat -ano | findstr 3333
TCP 127.0.0.1:3333 0.0.0.0:0 LISTENING 10000
TCP 127.0.0.1:3333 0.0.0.0:0 LISTENING 24276
TCP 127.0.0.1:33331 0.0.0.0:0 LISTENING 3104
git push origin new_main:main --force