Skip to content

Instantly share code, notes, and snippets.

@lukeocodes
Last active June 4, 2022 10:54
Show Gist options
  • Select an option

  • Save lukeocodes/cd896c8fc53f5f777063d85800f80113 to your computer and use it in GitHub Desktop.

Select an option

Save lukeocodes/cd896c8fc53f5f777063d85800f80113 to your computer and use it in GitHub Desktop.

Revisions

  1. lukeocodes revised this gist Oct 6, 2021. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion gh-issueBranch.alias
    Original file line number Diff line number Diff line change
    @@ -1 +1,4 @@
    gh alias set issueBranch --shell 'title="$(gh issue view $1 --json title --jq .title)"; slug="$(source $HOME/.zshrc && slugify "$title")"; git checkout -b "DevEd-$1.$slug"'
    gh alias set issueBranch --shell \
    'title="$(gh issue view $1 --json title --jq .title)"; \
    slug="$(source $HOME/.zshrc && slugify "$title")"; \
    git checkout -b "prefix-$1.$slug"'
  2. lukeocodes renamed this gist Oct 6, 2021. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  3. lukeocodes revised this gist Oct 6, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -1 +1 @@
    gh alias set issueBranch --shell 'title="$(gh issue view $1 --json title --jq .title)"; slug="$(source $HOME/.zshrc && slugify "$title")"; git checkout main; git checkout -b "DevEd-$1.$slug"'
    gh alias set issueBranch --shell 'title="$(gh issue view $1 --json title --jq .title)"; slug="$(source $HOME/.zshrc && slugify "$title")"; git checkout -b "DevEd-$1.$slug"'
  4. lukeocodes created this gist Oct 6, 2021.
    1 change: 1 addition & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    gh alias set issueBranch --shell 'title="$(gh issue view $1 --json title --jq .title)"; slug="$(source $HOME/.zshrc && slugify "$title")"; git checkout main; git checkout -b "DevEd-$1.$slug"'