D
D
DarkByte20152018-02-26 11:57:45
git
DarkByte2015, 2018-02-26 11:57:45

Why is the commit not coming?

git status
# On branch master
# Your branch and 'remotes/origin/master' have diverged,
# and have 1 and 2 different commit(s) each, respectively.
#
nothing to commit (working directory clean)

Stubbornly writes this strange error. I don't know what it means or how to understand it. I tried a bunch of all sorts of hard checkouts / resets / fetches, etc. Nothing helps.
PS The most important thing is that the last commit that I pushed does not appear (in the bitbucket, where the rap is, it is).

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Anton Spirin, 2018-02-26
@DarkByte2015

Try
or
git merge origin/master

G
Gleb Starkov, 2018-02-26
@colonel

Recent commits should be looked at
git log

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question