hub create repository in organization without typing out the entire path

Created on 17 Jan 2020  路  1Comment  路  Source: github/hub

The problem I'm trying to solve:

I'm constantly creating repos in my organization and really hate having to type out the entire repo name, especially when they get fairly verbose. I would really like to do something like:

$ pwd
/Users/me/this-really-really-long-repo-name-that-I-dont-want-to-type
$ git create -p --org WPMedia

How I imagine hub could expose this functionality:

Unfortunately -o is taken up for "browse" so we'll have to go with --org instead. It would be great if you could just change browse to "-b" though although I understand that breaks backward compat.

feature

Most helpful comment

Good idea! I welcome a PR that adds --org flag support as an alternative to the hub create ORG/myrepo syntax.

>All comments

Good idea! I welcome a PR that adds --org flag support as an alternative to the hub create ORG/myrepo syntax.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

xxmyjk picture xxmyjk  路  4Comments

kentcdodds picture kentcdodds  路  4Comments

cschwendiman picture cschwendiman  路  4Comments

technosophos picture technosophos  路  3Comments

kurko picture kurko  路  4Comments