Home >Backend Development >PHP Tutorial >How to update and commit after git clone a branch

How to update and commit after git clone a branch

PHP中文网
PHP中文网Original
2017-03-30 10:59:022894browse

git clone -b feature-notice

After cloning this branch git branch, under feature-notice, now I want to pull/fetch the latest code online, and commit /push after modification

How to do it specifically? Direct git pull / fetch will not work, but also commit / push

git clone -b feature-notice

After cloning this branch, git branch, under feature-notice, now I want to pull/fetch the latest code online, after modification commit /push

How to do it specifically? Direct git pull/fetch doesn't work, and commit/push

direct git pull doesn't work. What's wrong? What's the prompt?

Owner: Your git clone uses the http protocol, so you need to enter a password. You can use the ssh protocol.

The above is how to update and commit after git clone a branch? For more related content, please pay attention to the PHP Chinese website (www.php.cn)!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn