index db563127b236757de62be50a4e04439eddf2729e..554ee0af912368cb842d93c025e742daaf47f5f2 100644 (file)
$ git branch stable v2.5 # start a new branch named "stable" based
# at v2.5
$ git reset --hard HEAD^ # reset your current branch and working
$ git branch stable v2.5 # start a new branch named "stable" based
# at v2.5
$ git reset --hard HEAD^ # reset your current branch and working
- # directory its state at HEAD^
+ # directory to its state at HEAD^
-------------------------------------
Be careful with that last command: in addition to losing any changes
-------------------------------------
Be careful with that last command: in addition to losing any changes