我在执行git commit -m
和git pull
时遇到问题。我已完成git init
并多次进行更改,并且在分支机构上工作并推送到GitHub时没有任何问题。但是,现在问题出现了蓝色。
我再也不能git commit或git push了。每次我做出更改并在执行$git add .
后,都会显示
$ git commit -m "fixed plot fonts"
On branch convergence
Your branch is up-to-date with 'origin/convergence'.
nothing to commit, working tree clean
$ git pull
Already up-to-date.
$ git branch
* convergence
master
show
shown
$ git status
On branch convergence
Your branch is up-to-date with 'origin/convergence'.
nothing to commit, working tree clean
$ git pull
Already up-to-date.
有人可以给我一些指示吗?谢谢!!
更新
在我重新初始化git后,我仍然无法git commit和git push。
$ git init
Reinitialized existing Git repository in /Users/xyz/Documents/R packages/bio/.git/
h$ git add .
$ git commit -m "change font sizes of ggplot"
On branch convergence
Your branch is up-to-date with 'origin/convergence'.
nothing to commit, working tree clean