This commit is contained in:
Mr. Is 2016-08-03 18:27:41 -04:00
parent 9bcaf7baf0
commit 5c53cc8e17

View File

@ -76,7 +76,7 @@ export GOGS_URL=http://my.goggers.me
## Usage. ## Usage.
So far, you can do things. What's that? You can _do things_? Yep! Do things! So far, you can do things. What's that? You can _do things_? Yep! Do things!
```bash ```shell
# Create basic: # Create basic:
$ gogs repo create wheres-waldo # Create a repo owned by you. $ gogs repo create wheres-waldo # Create a repo owned by you.
# Create fancy: # Create fancy:
@ -89,7 +89,7 @@ $ gogs repo [create|new|c|n]
# [-p | --private] # Make repo private # [-p | --private] # Make repo private
# [-r | --add-remote] # Add newly created gogs repo as a remote to your current git dir, initalizing git if necessary # [-r | --add-remote] # Add newly created gogs repo as a remote to your current git dir, initalizing git if necessary
``` ```
```bash ```shell
# Migrate: # Migrate:
$ gogs repo migrate <myusername or my org's username>/mirror-mirror https://github.com/gogits/gogs.git $ gogs repo migrate <myusername or my org's username>/mirror-mirror https://github.com/gogits/gogs.git
# [Aliases] for migrate # [Aliases] for migrate
@ -98,13 +98,13 @@ $ gogs repo [migrate|m]
# [-m | --mirror] # Make it a mirror of the original. # [-m | --mirror] # Make it a mirror of the original.
# [-p | --private] # Make it private. # [-p | --private] # Make it private.
``` ```
```bash ```shell
# List basic: # List basic:
$ gogs repo list # Get all yo repos. $ gogs repo list # Get all yo repos.
# [Aliases] # [Aliases]
$ gogs repo [list|l] $ gogs repo [list|l]
``` ```
```bash ```shell
# Search basic: # Search basic:
$ gogs repo search waldo # Search public repos for keyword 'waldo'. $ gogs repo search waldo # Search public repos for keyword 'waldo'.
# Search fancy: # Search fancy:
@ -115,14 +115,14 @@ $ gogs repo [search|find|s|f]
# [-l | --limit] # Limit results # [-l | --limit] # Limit results
# [-u | --user] # By user, required if you want to search private repos # [-u | --user] # By user, required if you want to search private repos
``` ```
```bash ```shell
# Destroy basic: # Destroy basic:
$ gogs repo destroy irstacks my-exterminable-repo $ gogs repo destroy irstacks my-exterminable-repo
$ gogs repo destroy irstacks/my-other-exterminable-repo $ gogs repo destroy irstacks/my-other-exterminable-repo
# [Aliases] for destroy. # [Aliases] for destroy.
$ gogs repo [destroy|delete|d|rid] $ gogs repo [destroy|delete|d|rid]
``` ```
```bash ```shell
# Help?! # Help?!
# Add --help after any command to see what's up, ie. # Add --help after any command to see what's up, ie.
$ gogs --help $ gogs --help