$ git branch
* A
B
$ git checkout B message.html message.css message.js other.js
$ git status
# On branch A
# Changes to be committed:
# (use "git reset HEAD <file>..." to unstage)
#
# new file: message.css
# new file: message.html
# new file: message.js
# modified: other.js
本地需有该B分支内容才可以拉取的..