I am using TortoiseGit on Windows for git projects.
I made a local commit in my project. And I want to cancel it.
How to undo git commit with TortoiseGit? without discarding my changes
TortoiseGit -> Show Log -> Revert change by this commit
This will result in a commit, which will return a commit, so you won’t lose your changes.
Reset
and
[NOTE] if you want to save working tree changes, use Mixedinstead.
Mixed
result:
Rebase with Force
( , - .: P)
:
Source: https://habr.com/ru/post/1538037/More articles:IndexOutOfBoundsException when added to ArrayList by index - javamake python @property handle + =, - = etc - pythonGoogle Glass: выберите "Отменить" или "ОК" в диалоговом окне - androidOverloading operators on python properties - pythonUpdate expandable notification, re-expand it, even after the user dumped it - androidGetting multiple images from a gallery in the onActivityResult method - androidDoes google maps api fit with offset? - javascriptsetCompoundDrawablesWithIntrinsicBounds vs android: drawableRight - androidHow to find the nearest iBeacon - iosМогу ли я получить все сборки, на которые ссылается веб-сайт - c#All Articles