I'm assuming you just want to find out how much trouble you're getting yourself into prior to actually attempting the merge...and resetting to the last commit after a failed merge is relatively easy so I wouldn't be surprised if that is the intended approach.
I'm assuming you just want to find out how much trouble you're getting yourself into prior to actually attempting the merge...and resetting to the last commit after a failed merge is relatively easy so I wouldn't be surprised if that is the intended approach. That said, if you really don't want to touch your existing files in the working tree - you could create a patch and test it against the target branch. This also has the benefit of showing exactly what changes were made to which files - just open up the patch file in a text editor.
Git checkout -b mycrazybranch change some stuff... git add . Git commit -m "changed some stuff" git format-patch master --stdout > crazy. Patch git checkout master git apply crazy.
Patch --check all good! Cleanup... rm crazy. Patch As you can see, this will create a patch file, you can then test it with --check and see if there are any errors, then remove the patch file.
It worked! You don't even need a temporary file if you do: git format-patch master --stdout | git-apply --check - – Penz Jun 15 '11 at 16:50 Awesome, thought it was kind of a long shot but glad it worked for you! – Ian Robinson Jun 16 '11 at 18:27.
You can do git merge --abort after seeing that there are conflicts.
Not exactly like that. But you can use the --no-commit option, so it does not automatically commit the result after the merge. In this way you can inspect, and if desired, to undo the merge without messing with the commit tree.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.