2020-02-17 21:50:02 +01:00
|
|
|
# Sip (alternative)
|
2020-02-17 06:28:11 +01:00
|
|
|
CLI for interacting with Gitea
|
|
|
|
|
|
|
|
### Features
|
|
|
|
|
|
|
|
Understands the concepts of an origin vs remote repository.
|
|
|
|
By default uses remotes `origin` and `upstream`.
|
|
|
|
If no `upstream` repository is found, `upstream` becomes synonymous with `origin` for the sake of defaults.
|
|
|
|
|
2020-02-17 21:50:02 +01:00
|
|
|
* Configuration `sip config`
|
|
|
|
* Change the default `origin` remote name `sip config origin`
|
|
|
|
* Change the default `upstream` remote name `sip config upstrea`
|
|
|
|
* Login `sip login`
|
2020-02-17 06:28:11 +01:00
|
|
|
* Add a user token for API usage
|
2020-02-17 21:50:02 +01:00
|
|
|
* Generate a new token from CLI `sip login auto`
|
2020-02-17 06:28:11 +01:00
|
|
|
* Authenticate with username/password to get a new token without leaving the terminal
|
2020-02-17 21:50:02 +01:00
|
|
|
* List available logins `sip login list`
|
|
|
|
* Logout `sip logout`
|
2020-02-17 06:28:11 +01:00
|
|
|
* Remove user tokens
|
2020-02-17 21:50:02 +01:00
|
|
|
* Repository status `sip repo`
|
2020-02-17 06:28:11 +01:00
|
|
|
* Get basic information about the `upstream` repository
|
2020-02-17 21:50:02 +01:00
|
|
|
* Issue search `sip issues`
|
2020-02-17 06:28:11 +01:00
|
|
|
* Search issues based on keyword(s)
|
2020-02-17 21:50:02 +01:00
|
|
|
* Create a new issue `sip issues create`
|
|
|
|
* Pull request search `sip pulls`
|
2020-02-17 06:28:11 +01:00
|
|
|
* Search pull requests based on keyword(s)
|
2020-02-17 21:50:02 +01:00
|
|
|
* Create a new pull request `sip pulls create`
|
|
|
|
* Check pull request status (default based on current branch) `sip pulls status`
|
|
|
|
* Checkout a pull request to test locally `sip pulls checkout`
|