Timeline for how to rebase changes in the master to detached HEAD safely
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 28, 2018 at 18:47 | comment | added | user2372074 | Thanks, I did git checkout master && git pull origin master git checkout a32b42b123 && git rebase master' @user2372074 | |
Nov 22, 2018 at 2:34 | comment | added | user2372074 | Thanks for the reply, after rebasing, all the changes are gone. | |
Nov 21, 2018 at 17:33 | comment | added | Mureinik |
@user2372074 Commits are read-only. You cannot change a32b42b123 once its created - you can make changes in the branch, and rebasing the branch will retain them (assuming no merge conflicts, of course!)
|
|
Nov 21, 2018 at 17:29 | comment | added | user2372074 | but doing this rebase will lose the previous change I made on a32b42b123, right? | |
Nov 21, 2018 at 4:31 | history | answered | Mureinik | CC BY-SA 4.0 |