4 ms·
For GitHub, using the hub[1] client, you can simply do: hub create -p That will create a new private repo, matching the name of your repository. What I wil
by unqueued 4y ago
For GitHub, using the hub[1] client, you can simply do:
hub create -p
That will create a new private repo, matching the name of your repository.
What I will often do if I want to instantly mirror something to github:
hub create -p --remote-name=github
Which will create a new remote with that name. Otherwise origin will be used, which can conflict if you already have an origin remote.
It is also less typing.
[1]: https://github.com/github/hub https://github.com/github/hub
- phpisthebest 4y agoI dislike organizations that take open source things like git, and then extend them to add features making them propriety work flow lock in making it hard to move to a new platform Another company was famous for this, they used to call it Embrace, Extend, Extinguish
- unqueued 4y agoWell, with the hub cli, it is just using GitHub's public API. I don't think it is doing anything proprietary.
- rglullis 4y ago> I don't think it is doing anything proprietary. Does github provide the code of their servers that implements the API? Can you self-host it? If not, then it is pretty proprietary.