Timeline for Move branch pointer to different commit without checkout
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 4 at 8:24 | comment | added | Jakob Stark |
Best answer for my specific usecase. Note that this checks the branch out after it reseted it to <start-point> . This is very useful for grapping another branch laying around somewhere, reset it to the current HEAD and start working on it.
|
|
Apr 28, 2022 at 23:21 | comment | added | alondono |
I'd say that it is normal for a new command to be introduced first as experimental. It simply means some of the options or flags might change, or others might be added or improved. The -c|-C flag behaviour discussed here has not changed since the command was introduced in August 2019.
|
|
Apr 28, 2022 at 23:09 | comment | added | alondono |
The git switch command has been experimental from when it was introduced in version 2.23.0. See this from the Git Blog in August 2019 github.blog/2019-08-16-highlights-from-git-2-23
|
|
Apr 28, 2022 at 18:18 | comment | added | MarkHu |
I like this idea, but as of git version 2.35.1 ... git switch --help | egrep -i EXPERIMENTAL said THIS COMMAND IS EXPERIMENTAL. THE BEHAVIOR MAY CHANGE.
|
|
Jul 22, 2021 at 23:29 | history | answered | alondono | CC BY-SA 4.0 |