zoukankan      html  css  js  c++  java
  • git remote

    git remote

    参考

    查看远程仓库

    git remote -v

    1@DESKTOP-3H9092J MINGW64 /e/mozq/demo_project/haha(master)
    $ git remote -v
    origin  git@192.168.1.254:devops/haha.git (fetch)
    origin  git@192.168.1.254:devops/haha.git (push)
    

    添加远程仓库

    git remote add org http://192.168.1.254/devopss/bala.git

    1@DESKTOP-3H9092J MINGW64 /e/mozq/demo_project/haha(master)
    $ git remote add org http://192.168.1.254/devopss/bala.git
    
    1@DESKTOP-3H9092J MINGW64 /e/mozq/demo_project/haha(master)
    $ git remote -v
    org     http://192.168.1.254/devopss/bala.git (fetch)
    org     http://192.168.1.254/devopss/bala.git (push)
    origin  git@192.168.1.254:devops/haha.git (fetch)
    origin  git@192.168.1.254:devops/haha.git (push)
    

    删除远程仓库

    git remote remove org

    1@DESKTOP-3H9092J MINGW64 /e/mozq/demo_project/haha(master)
    $ git remote remove org
    
    1@DESKTOP-3H9092J MINGW64 /e/mozq/demo_project/haha(master)
    $ git remote -v
    origin  git@192.168.1.254:devops/haha.git (fetch)
    origin  git@192.168.1.254:devops/haha.git (push)
    
  • 相关阅读:
    2018.7.12训练赛 -K
    winter 2018 02 01 关于模运算的一道题
    debug(实验)
    problem-1003(恢复一下)
    hd acm1466
    hd acm2045
    hd acm 1297
    hd acm1005
    hd acm1425
    概率趣题:三个犯人
  • 原文地址:https://www.cnblogs.com/mozq/p/11864127.html
Copyright © 2011-2022 走看看