Skip to content

Instantly share code, notes, and snippets.

View yhs0602's full-sized avatar
🥝

Hyeonseo Yang yhs0602

🥝
View GitHub Profile
@yhs0602
yhs0602 / create_branch_from_tag
Created January 21, 2020 12:14 — forked from nickfloyd/create_branch_from_tag
To create a branch from a tag
-Go to the starting point of the project
>> git checkout origin master
-fetch all objects
>> git fetch origin
-Make the branch from the tag
>> git branch new_branch tag_name
-Checkout the branch
>> git checkout new_branch
-Push the branch up
>> git push origin new_branch