Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Make meaningful commit messages. These ciphers with dates will only confuse you.
The fact that when you push you see a lot of commits is not a mistake. You don't have to try to fix it.
This is just a sign that your branch is not based on the current master initially and updates were downloaded in the process, or you messed around with push --force which is tantamount to rebuilding the branch again via rebase.
After such a forced push, on other computers, the usual pull is no longer enough. You'll have to pull in --rebase mode, otherwise you'll end up with a mess of commits.
I advise you to use a normal Git client in parallel to work with the repository itself, which clearly shows the commit tree. SmartGit is perfect for this. This will make it much clearer what's going on.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question