Answer the question
In order to leave comments, you need to log in
Confused with Git.?
Good day.
In a nutshell, the problem is this:
I work with the project, I coded it, I pushed it to the branch, the push successfully left, everything seems to be ok.
The tester merges the changes from this branch to his server, and informs me that everything is garbage, there are no changes.
It's not the first time something like this has happened.
It turns out that my code edits do not reach the tester's server or the dev server.
Answer the question
In order to leave comments, you need to log in
It happens that sometimes in a hurry you forget to commit (git commit) local changes. In this case, when sending (git push) without prior git commit, you will be informed that everything is supposedly in order, there is nothing to do.
The remedy for this is git hooks: pre-push.
Although, to investigate the cause, you need to both run git log -20
and compare whether the other side received the latest changes.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question