git推送覆盖旧仓库

2018-06-26  本文已影响5人  王义杰

使用 git push origin master --force

PS D:\src\angular6\material> git remote add origin  https://github.com/getfirstcn/hsd-devops.git
PS D:\src\angular6\material> git push origin master --force
fatal: HttpRequestException encountered.
   发送请求时出错。
Username for 'https://github.com': 785471184@qq.com
Password for 'https://785471184@qq.com@github.com':
Counting objects: 489, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (470/470), done.
Writing objects: 100% (489/489), 244.28 KiB | 0 bytes/s, done.
Total 489 (delta 270), reused 0 (delta 0)
remote: Resolving deltas: 100% (270/270), done.
To https://github.com/getfirstcn/hsd-devops.git
 + bcddf61...e3e2a8a master -> master (forced update)
上一篇下一篇

猜你喜欢

热点阅读