随笔分类 -  SCM or VCS

版本控制工具 Version control system (VCS) are also known as source control management (SCM),
摘要:$ git remote -v origin git@github.com:AAAAAA/BBBBB.git (fetch) origin git@github.com:AAAAAA/BBBBB.git (push) $ git push origin HEAD:refs/heads/dev-xxx 阅读全文
posted @ 2023-03-04 19:57 wangshaodong 阅读(17) 评论(0) 推荐(0)
摘要:git clone加速下载 如果只需要最新的代码 不需要历史提交记录的时候可以 给git添加参数 --depth =1 git clone --depth=1 https://github.com/TheSuperPowerIsRich/OSX-KVM.git 阅读全文
posted @ 2022-03-21 00:34 wangshaodong 阅读(32) 评论(0) 推荐(0)
摘要:创建远程分支 创建本地分支 # 创建 并且切换到 新分支 $ git checkout -b new_branch_name # 仅仅创建新分支不切换分支 $ git branch new_branch_name 推送本地分支到远程 $ git push origin new_branch_name 阅读全文
posted @ 2022-01-14 15:47 wangshaodong 阅读(101) 评论(0) 推荐(0)