Skip to content

packsaddle/rust-git_httpsable_cli

Repository files navigation

git_httpsable_cli

crates version Travis-CI Status Appveyor Status license

Execute git command with https-url.

git push to https-url with access token.

See github_httpsable_cli for GitHub specific version. See git_httpsable for the programmatic API.

Example

$ GIT_HTTPSABLE_USERNAME=__your_user_name__ GIT_HTTPSABLE_PASSWORD=__your_password__ \
  git-httpsable clone https://example.com/git/repo ./target_dir
# => git clone https://__your_user_name__:__your_password__@example.com/git/repo ./target_dir
$ GIT_HTTPSABLE_USERNAME=__your_user_name__ GIT_HTTPSABLE_PASSWORD=__your_password__ \
  git-httpsable push https://example.com/git/repo your_branch
# => git push https://__your_user_name__:__your_password__@example.com/git/repo your_branch
  • GitHub: GIT_HTTPSABLE_USERNAME=__your_access_token__, GIT_HTTPSABLE_PASSWORD=x-oauth-user
  • BitBucket: GIT_HTTPSABLE_USERNAME=x-token-auth, GIT_HTTPSABLE_PASSWORD=__your_access_token__

Install

Download from Latest release for your own environment.

or

$ cargo install git_httpsable_cli

changelog

changelog

License

MIT/Apache-2.0 © sanemat