S
S
Sergey Gladyshev2017-02-10 04:54:12
git
Sergey Gladyshev, 2017-02-10 04:54:12

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

2 answer(s)
R
Roman Mirilaczvili, 2017-02-11
@2ord

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 -20and compare whether the other side received the latest changes.

A
abcd0x00, 2017-02-13
@abcd0x00

Perhaps the server is moderated, it happens on github, for example. And if in general, then check if you have committed the changes. Then check if you sent it to the right thread. Then check if that branch is downloaded by that one.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question