I am having problems doing git commit -m
and git pull
. I have done git init
and made changes for many times and had had no problems working on branches and pushing to GitHub. However, now the problem occurs out of blue.
I can no longer git commit or git push. Every time I made changes and after doing $git add .
, it shows
$ 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.
Could someone give me some directions? Thank you!!
UPDATE
After I reinitialized git, I still could not git commit and 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