Git

  

 

  1. 本地分支master与origin/master建立关联,origin/master被删除,重置

     

      

  2. 本地分支master与origin/main建立关联

     

     

  3.  

    查找配置文件位置

     

     

  4.  

    设置变量(默认 local)

     

     

  5.  

    拉取远程所有分支
    git fetch --tags --force --progress -- http://192.168.100.56:10080/dingc/Verification.git +refs/heads/*:refs/remotes/origin/*

    否则只拉取主分支


  6. git remote show remote 

     

     

     


     

posted @ 2021-04-18 19:52  ascertain  阅读(57)  评论(0编辑  收藏  举报