小小园丁

git使用

1、git clone https://github.com/....                                                 http

      git clone ssh://igerrit.storm:29418/tools/repo.git                      ssh

2、git checkout -b test    存在就切换,不存在则新增、

3、git remote update //相当于对每一个remote源执行了fetch操作

   git rebase origin/branch //针对当前分支的跟踪分支执行rebase操作

posted on 2020-06-24 23:16  小小园丁  阅读(125)  评论(0编辑  收藏  举报

导航