git推送覆盖旧仓库

使用 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': [email protected]
Password for 'https://[email protected]@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)

你可能感兴趣的:(git推送覆盖旧仓库)