273 B
Executable File
273 B
Executable File
author | date | title |
---|---|---|
Alvie Rahman | \today | Git notes |
Fix detached head
From https://stackoverflow.com/a/10229202 :
To Delete Changes
git checkout main
To Keep Changes
git branch temp
git checkout main
git pull . temp
git branch -D temp