gumingWu / push-github

Create github repository and push code quickly

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

push-github

Create github repository and push code quickly

npm

Install

npm install -g push-github

yarn add -g push-github

pnpm add -g push-github

Usage

First of all, you must prepare a github token that has the pushing project authentication.

More creating token steps in this article in Chinese

And then, open the terminal and execute the command: push-github, or pg

If you don't save the github token, it will force you to save token firstly

Just use pg and press Enter, the github repository will be created!

image.png

TODO

  • 加上超时机制
  • ctrl+c 能取消接口请求并终止流程
  • 以上两个步骤是为了解决在提交时网络缓慢的问题

About

Create github repository and push code quickly


Languages

Language:TypeScript 98.3%Language:JavaScript 1.7%