I
I
Ivan2020-10-13 09:55:33
git
Ivan, 2020-10-13 09:55:33

How to pull a branch from a repository without making a pointless commit?

I rummaged through the info on rebase, merge, pull and fetch, but so far I still don’t understand. I don’t want to rebase the master from the repository, because I work in a team, but at the same time, if I just do a git pull (without --rebase), then the changes are merged and I need to write another unnecessary commit, there’s not much to write there, then Yes, the new commit is garbage. how can you get rid of it? or after all to cut each time rebase?

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