Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Gommand to the current commit hash CmdRevParse = "COMMIT=$(git rev-parse HEAD)" // Command to set the git user and email based on the // individual that made the commit. CmdGlobalEmail = "git config --global user.email $(git --no-pager log -1 --pretty=format:'%ae')" CmdGlobalUser = "git config --global user.name $(git --no-pager log -1 --pretty=format:'%an')" // Command to write the API token to ~/.netrc // use "_" since heroku git authentication ignores username CmdLogin = "echo 'machine git.heroku.com login _ password %s' >> ~/.netrc" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.