公司经历 git 拉取更新代码

背景:

领导让拉取并更新代码,由于有段时间不怎莫使用git指令提交代码了,一下子惊慌失措了起来,

于是乎,还是大胆的请教了一下领导;领导就打开了黑窗口,逐一输入指令,直到运行起来。。。

内容:

git status   查看状态

git branch master   切换主分支

git branch 切换分支

git fetch

git branch

git checkout fealuer-1.1.0 切换

git pull 拉取

总结:遇事不慌,凡事都能稳重求进。。。。

猜你喜欢

转载自blog.csdn.net/weixin_59519449/article/details/125317550
今日推荐