This commit is contained in:
Mr. Is 2016-07-29 11:12:55 -04:00
parent a009f7d67e
commit 6093c4e53a

View File

@ -80,14 +80,12 @@ So far, you can do things. What's that? You can _do things_? Yep! Do things!
# 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:
$ gogs repo create wheres-waldo --desc 'awesome stuff' --private --org GophersGophering $ gogs repo create Gophers/wheres-waldo --desc='awesome stuff' --private
$ gogs repo create where-waldo -r origin $ gogs repo create where-waldo -r origin
# [Aliases] for create. # [Aliases] for create.
$ gogs repo [create|new|c|n] $ gogs repo [create|new|c|n]
# [Options] for create. # [Options] for create.
[-n | --name] # Name (or plain old args[0] also work, as above, obviously)
[-d | --desc] # Description [-d | --desc] # Description
[-o | --org] # Owned by a an organization you own
[-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