A
A
Alexey2019-08-03 14:00:39
git
Alexey, 2019-08-03 14:00:39

Why does git status return "Your branch is ahead of 'origin/master' by 255 commits."?

Battle server. The project directory is synchronized with the repository. HEAD on the last commit, everything is in normal working order.
I give the command:

$ git status
On branch master
Your branch is ahead of 'origin/master' by 255 commits.
  (use "git push" to publish your local commits)
nothing to commit, working directory clean

What 255 commits are we talking about? Changes and commits are not made on the production server, all changes in the main branch are rolled through git pull.
I would do what git asks - (use "git push" to publish your local commits), but I don't really want to, because I don't understand what's going on.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question