Skip to content

Instantly share code, notes, and snippets.

@mingliangguo
Created August 8, 2019 02:21
Show Gist options
  • Save mingliangguo/8aa2d0ef0dee01cdf02764ea85ea3885 to your computer and use it in GitHub Desktop.
Save mingliangguo/8aa2d0ef0dee01cdf02764ea85ea3885 to your computer and use it in GitHub Desktop.
hub configuration

hub website for the rescue

https://hub.github.com/hub.1.html

configure url for enterprise github

git config --global --add hub.host MY.GIT.ORG 

when opening Pull request, make sure you export GITHUB_TOKEN

GITHUB_TOKEN hub pull-request --no-edit -F ~/temp/checklist.md --base myrepo:master --head gary-guo:$BRANCH_NAME
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment