git-up-cli
v0.1.39
Published
repository hosting
Downloads
55
Readme
git-up
lightweight, powerful repository hosting
Installation
Install git-up-cli
via NPM:
npm i -g git-up-cli
or if NPM requires root privileges:
sudo npm i -g git-up-cli
Once installed, this will expose the git-up
shell command.
Usage
When using git-up
for the first time, you will be required to login with an existing account or register a new one.
Note: be sure to replace any < ... >
in the commands below with your desired/actual value.
Registering a new account
git-up login <username>
This command will prompt you to register if the username entered does not exist. Registration will read your public key from ~/.ssh
and generate a new user account.
Logging in
git-up login <username>
If the username does exist, then git-up
will proceed to authenticate the user.
Logging out
git-up logout
Checking currently logged in user
git-up user
Creating a new repository
git-up new <repository-name>
This command, if authenticated, will generate a new repository located at gitup.io/<username>/<repository-name>
, and will also generate necessary roles for you to access your new repo. Once generated, you can access your new remote repository via [email protected]:<username>/<repository-name>.git
.