Notes

Notes and References

View the Project on GitHub leabstrait/notes

Test Merge

We can use git merge --no-commit to prevent the merge from actually being committed, and if we don’t like how the merge works out, just reset to the original head. If you definitely don’t want to finalize the merge, even if it’s a fast-forward (and thus has no conflicts, by definition), you could add --no-ff as well.

To be more safe, we can do the following:

Stack Overflow Question - How to test a merge without actually merging first