Hub
wrgl hub repo create
Creates a new repository on WrglHub.
wrgl hub repo create NAME [ --set-remote REMOTE ] [flags]
Flags
-h, --help
help for create
--mirror
with --mirror=fetch, the refs will not be stored in the refs/remotes/ namespace, instead all references on the remote will be directly mirrored in the local repository. With --mirror=push, wrgl push will always behave as if --mirror was passed.
--public
makes the repository public
--set-remote
set the newly created repository as a remote with the specified name.
--tags
wrgl fetch REMOTE imports every tag from the remote repository
-t, --track
with -t BRANCH, instead of tracking all remote branches, only track the specified BRANCH. You can give more than one -t BRANCH to track multiple branches while ignoring all other branches.
-u, --user
instead of creating a repo under your username, create a repo for an organization (that you belong to) with this username
Inherited flags
--badger-log
set Badger log level, valid options are "error", "warning", "debug", and "info" (defaults to "error")
--cpuprofile
write cpu profile to file
--debug
print debug logs to stdout
--debug-file
print debug logs to the given file instead
--heapprofile
write heap profile to file
--wrgl-dir
parent directory of repo, default to current working directory.
Examples
# create a new repository
wrgl hub repo create my-new-repo
# create a new repository for an organization (that you belong to)
wrgl hub repo create my-repo --user ipno
# create a new repo then set it origin remote for a local repository
wrgl hub repo create my-repo --set-remote origin
wrgl hub repo delete
Remove a repository.
wrgl hub repo delete NAME [flags]
Flags
-h, --help
help for delete
Inherited flags
--badger-log
set Badger log level, valid options are "error", "warning", "debug", and "info" (defaults to "error")
--cpuprofile
write cpu profile to file
--debug
print debug logs to stdout
--debug-file
print debug logs to the given file instead
--heapprofile
write heap profile to file
--wrgl-dir
parent directory of repo, default to current working directory.
wrgl hub repo list
list your repositories
wrgl hub repo list [USERNAME] [flags]
Flags
-h, --help
help for list
Inherited flags
--badger-log
set Badger log level, valid options are "error", "warning", "debug", and "info" (defaults to "error")
--cpuprofile
write cpu profile to file
--debug
print debug logs to stdout
--debug-file
print debug logs to the given file instead
--heapprofile
write heap profile to file
--wrgl-dir
parent directory of repo, default to current working directory.
Examples
# list your own repositories
wrgl hub repo list
# list repositories of another user
wrgl hub repo list ipno