$ git checkout -b feature-001
Switched to a new branch 'feature-001'
M readme.txt$ git status
On branch feature-001
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: readme.txt
no changes added to commit (use "git add" and/or "git commit -a")$ git add readme.txt
$ git commit -m "测试新功能分支"
[feature-001 6edb4e3] 测试新功能分支
1 file changed, 2 insertions(+), 3 deletions(-)$ git checkout master
Switched to branch 'master'
Your branch is ahead of 'origin/master' by 13 commits.
(use "git push" to publish your local commits)$ git branch -d feature-001
error: The branch 'feature-001' is not fully merged.
If you are sure you want to delete it, run 'git branch -D feature-001'.$ git branch -D feature-001
Deleted branch feature-001 (was b1f9f41).