Every time you create a new project on the development machine, then go to the git server to create a new project, and then associate it through git remote add. Otherwise, if you add a remote warehouse casually, an error will be reported when pushing:
fatal: Could not read from remote repository.
Is there any way to let the git server automatically create a warehouse?
过去多啦不再A梦2017-05-02 09:35:27
This function involves calling github’s API.
Here is an article that can help you.
Create a Github Repo from the Command Line
In addition, you can refer to the documentation about github api here
https://developer.github.com/v3/
Good Luck
怪我咯2017-05-02 09:35:27
You can download a sourcetree and create a new branch directly in the pop-up box when pushing.