📜  git 3 方式合并 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:30.934000             🧑  作者: Mango

代码示例1
Start a new featuregit checkout -b new-feature master
# Edit some filesgit 
add git commit -m "Start a feature"
# Edit some filesgit 
add git commit -m "Finish a feature"
# Develop the master branch
git checkout master
# Edit some files
git add git commit -m "Make some super-stable changes to master"
# Merge in the new-feature branch
git merge new-featuregit branch -d new-feature