Barriat 7faf334449 README - From GitHub to Gogs | há 7 anos atrás | |
---|---|---|
.. | ||
README.md | há 7 anos atrás | |
create.sh | há 7 anos atrás |
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.
git stash
to stash your changesgit pull
to get the last version of origin/mastergit stash apply
to apply your changesgit stash drop
to empty the stash