📅  最后修改于: 2022-03-11 14:51:08.552000             🧑  作者: Mango
// Start a new feature
git checkout -b new-feature master
// Edit some files
git add
git commit -m "Start a feature"
// Edit some files
git add
git commit -m "Finish a feature"
// Merge in the new-feature branch
git checkout master
git merge new-feature
git branch -d new-feature