Barriat 7faf334449 README - From GitHub to Gogs | %!s(int64=7) %!d(string=hai) anos | |
---|---|---|
.. | ||
README.md | %!s(int64=7) %!d(string=hai) anos | |
create.sh | %!s(int64=7) %!d(string=hai) anos |
You just ran a git fetch
and realize someone has modified
the exact file at the exact line that you just worked on.
Well, it seems harmless, there's no need to polute the history. You don't want the world to remember the exact state of your work.
This time, instead of using stash like in ex.5, you are going to rebase.
git pull --rebase
to get the last version of origin/master and apply your changes.git rebase --continue
to finish the rebaseCan you elaborate on the differences between using stash and rebase ?