Git基本操作
#git branch 显示当前分支是master #git branch new-feature 创建分支 # git checkout new-feature 切换到新分支 # vi page_cache.inc.php # git add page_cache.inc.php Commit 到本地GIT # git commit -a -m "added initial version of page cache" 合并到远程服务器 # git push origin new-feature 如果new-feature分支成熟了,觉得有必要合并进master #git checkout master #git merge new-feature #git branch #git push 则master中也合并了new-feature 的代码
相关推荐
baolen 2020-08-15
炼金术士lee 2020-08-15
huangchunxia 2020-08-07
lljhi0 2020-07-21
huangchunxia 2020-07-08
zhangxing 2020-07-05
ArkShen 2020-07-05
nebulali 2020-07-05
formula 2020-11-12
huhongfei 2020-11-05
乾坤一碼農 2020-10-27
liumengyanysu 2020-10-22
E哥的aws认证攻略 2020-10-15
tianyafengxin 2020-10-08
guying 2020-10-05
好脑筋不如烂笔头 2020-09-17