github - How to temporarly go back to previous versions of your code but preserve the latest changes in Git -
i have git
repository 2 tags, named version-1
, version-2
. i'm working on version-3
of app, code has changed lot since version-2
, still have lot of work release version-3
there changes/fixes version-2
, wondering if possible go tag version-2
make changes (bug fixes) , come left.
is possible go tag version-2
make changes (bug fixes) create new tag version-2.1
release changes , come left? if yes, process?
thanks
easiest create branch tag:
git checkout version-2 -b branchname
to resume working on new release, check out master branch again:
git checkout master
Comments
Post a Comment