# 查看工作区
$ ls
LICENSE README.md test.txt
# 查看版本库状态
$ git status
On branch master
Your branch is behind 'origin/master' by 1 commit, and can be fast-forwarded.
(use "git pull" to update your local branch)
nothing to commit, working tree clean
$
# 拉取最新版本
$ git pull
Updating dcce09c..10942ff
Fast-forward
git-remote.txt | 1 +
1 file changed, 1 insertion(+)
create mode 100644 git-remote.txt
# 查看版本库状态
$ git status
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
# 查看工作区内容: 文件已更新
$ ls
LICENSE README.md git-remote.txt test.txt
$