I know how it works git rebase, and I use it in production for a while. It repeats all the commit commit to another branch. It overwrites the history of your current branch.
I recently started playing with git rebase --skip, although initially I was terrified of this. I understand that he just skips it as if it never happened.
It seems to me that the resulting working directory in these two cases will be the same:
1) all commits are skipped, except for the last
2) all commits are replayed, so commits are resolved in favor of branching their.
Reminder : their- This is the branch that you are currently in when you rebuild.
Another reminder . I am particularly interested in the working directory. This is the same?
Is it true that the working directory is the same result?
Hunle source
share