美文网首页
git推送覆盖旧仓库

git推送覆盖旧仓库

作者: 王义杰 | 来源:发表于2018-06-26 16:22 被阅读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)
    

    相关文章

      网友评论

          本文标题:git推送覆盖旧仓库

          本文链接:https://www.haomeiwen.com/subject/jmjmyftx.html