T
T
Tempest992019-11-25 22:40:45
git
Tempest99, 2019-11-25 22:40:45

Explain in simple terms what the git pull --rebase command does?

the fact that pull downloads files from a remote repository is clear, but I don’t understand what these two dashes mean - before rebase and how does the pull work in conjunction with rebase?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
J
jcmvbkbc, 2019-11-25
@Tempest99

what does the git pull --rebase command do?

Does a pull and then rebases the local history with what was pulled.
Those. if in the remote repository there was
A--B--C in the local repository A--B--C--d--e
was added to this and in the remote A--B--C--D--E then after git pull --rebase the local history becomes: A--B--C--D--E--d'--e' where d' and e' are local d's and e's rebased on top of E.

R
Ronald McDonald, 2019-11-25
@Zoominger

what do these two dashes mean?

It's just a key separator, roughly speaking.
To distinguish the key from anything else.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question