Barriat 7faf334449 README - From GitHub to Gogs | 7 lat temu | |
---|---|---|
.. | ||
README.md | 7 lat temu | |
create.sh | 7 lat temu |
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