Skip to content

Commit

Permalink
🔧 Added branch to the github_open script
Browse files Browse the repository at this point in the history
  • Loading branch information
alubneuski committed Sep 15, 2021
1 parent 65d4726 commit 62f8d3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion d3b_cli_igor/utils/scripts/github_open
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
set -e
host="github.com"
branch=$(git rev-parse --abbrev-ref HEAD|sed 's/\//\%252F/')
open https://$host/$(git config --get remote.origin.url | awk -F":" '{ print $2 }' | awk -F"/" '{ print $1 }')/$(git config --get remote.origin.url | awk -F":" '{ print $2 }' | awk -F"/" '{ print $2 }' | awk -F"." '{ print $1 }')
open https://$host/$(git config --get remote.origin.url | awk -F":" '{ print $2 }' | awk -F"/" '{ print $1 }')/$(git config --get remote.origin.url | awk -F":" '{ print $2 }' | awk -F"/" '{ print $2 }' | awk -F"." '{ print $1 }')/tree/$branch

0 comments on commit 62f8d3c

Please sign in to comment.