Skip to content

Instantly share code, notes, and snippets.

@lucijafrkovic
Last active June 21, 2016 09:33
Show Gist options
  • Select an option

  • Save lucijafrkovic/a4629072272987ff709fd2257b8cb986 to your computer and use it in GitHub Desktop.

Select an option

Save lucijafrkovic/a4629072272987ff709fd2257b8cb986 to your computer and use it in GitHub Desktop.

Revisions

  1. lucijafrkovic revised this gist Jun 21, 2016. 1 changed file with 5 additions and 2 deletions.
    7 changes: 5 additions & 2 deletions git_branch_from_tag
    Original file line number Diff line number Diff line change
    @@ -1,2 +1,5 @@
    git checkout -b branch_name tag_name
    git push --set-upstream origin branch_name
    1. git checkout -b branch_name tag_name
    2. git push --set-upstream origin branch_name

    or
    git push -u origin branch_name
  2. lucijafrkovic revised this gist May 18, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion git_branch_from_tag
    Original file line number Diff line number Diff line change
    @@ -1,2 +1,2 @@
    git checkout -b branch_name tag_name
    git push origin branch_name
    git push --set-upstream origin branch_name
  3. lucijafrkovic created this gist May 18, 2016.
    2 changes: 2 additions & 0 deletions git_branch_from_tag
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    git checkout -b branch_name tag_name
    git push origin branch_name