Git-stash: Revision history

From Karmaking
Jump to navigationJump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

13 June 2024

  • curprev 19:0919:09, 13 June 2024 Daniel talk contribs 357 bytes +357 Created page with "=Git Stash= Stashing acts as a stack, where you can push changes, and you pop them in reverse order. To stash, type git stash Do the merge, and then pull back the stash: git stash pop =Discard the local changes= git reset --hard or: git checkout -t -f remote/branch or discard local changes for a specific file: git checkout filename"