Heim  >  Artikel  >  Backend-Entwicklung  >  git clone一个分支后如何更新和提交

git clone一个分支后如何更新和提交

PHP中文网
PHP中文网Original
2017-03-30 10:59:022816Durchsuche

git clone -b feature-notice 

克隆这个分支后 git branch,在feature-notice下,现在想pull/fetch线上最新的代码 ,修改后 commit /push

具体如何做? 直接git pull / fetch 都不行,还有commit / push

git clone -b feature-notice 

克隆这个分支后 git branch,在feature-notice下,现在想pull/fetch线上最新的代码 ,修改后 commit /push

具体如何做? 直接git pull / fetch 都不行,还有commit / push

直接git pull 不行,是怎么个不行法?提示什么

楼主 你git clone的是http协议的,所以要输入密码,可以用ssh协议的。

以上就是git clone一个分支后如何更新和提交?的内容,更多相关内容请关注PHP中文网(www.php.cn)!

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn