Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/github/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Git 将主分支更改合并到新分支_Git_Github - Fatal编程技术网

Git 将主分支更改合并到新分支

Git 将主分支更改合并到新分支,git,github,Git,Github,在主分支上不断添加新功能。我在不同的部门工作。但我只想将新添加的功能合并到我的分支中。我不想覆盖我对master branch所做的更改 我认为做一个git pull master就可以了

在主分支上不断添加新功能。我在不同的部门工作。但我只想将新添加的功能合并到我的分支中。我不想覆盖我对master branch所做的更改

我认为做一个
git pull master
就可以了