This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
tutorials:git_quick_reference [2019/04/18 14:43] marcus.williams [Variations] |
tutorials:git_quick_reference [2019/09/19 19:59] deryn.crockett |
||
---|---|---|---|
Line 44: | Line 44: | ||
git reset --hard origin/master | git reset --hard origin/master | ||
</code> | </code> | ||
+ | |||
+ | ===== Stash ===== | ||
+ | <code> | ||
+ | git stash | ||
+ | </code> | ||
+ | Records the current state of the working directory. This command saves your local modifications away and reverts the working directory to match the HEAD commit. | ||
+ | |||
+ | [[https://stackoverflow.com/questions/1260748/how-do-i-remove-a-submodule|How to remove a submodule]] | ||