我拉了git分支然后我的git状态显示了这个
ubuntu@ubuntu:/var/www/site1$ git status
# On branch test
# 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: my.sql.gz
#
然后我尝试了下面的命令,但我一直在做同样的事情
git checkout master -- my.sql.gz
git checkout -- my.sql.gz
git stash
当我输入git status然后我得到相同的消息
ubuntu@ubuntu:/var/www/site1$ git status
# On branch test
# 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: my.sql.gz
#