Skip to main content

Creates local and remote repository from command line

Project description

git-create-repo

PyPI version License: MIT

Creates local and remote git repository from command line. Tool is intented for Python 3.5+

Install

pip install git-create-repo

Usage

git_create [-p] [-u username]

Make sure you are in the folder you want to create a repository in. Before running, cd into your desired folder.

Create public repository

git_create

Create private repository

git_create -p

You can also specify your username with -u. Otherwise the username from git config user.name will be used.

Next steps

You will be prompted to enter your password and a description. The description can be skipped by simply pressing enter. If your password is incorrect, you will have to run the program again.

If the above is successful, you will now a repository created on your Github account.

Note

  • This will also create a default README.md file including the name of your repository if none exist.
  • It is also suggested to create your own .gitignore, so you can ignore what files you don't want commited beforehand.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

git-create-repo-0.0.3.tar.gz (5.1 kB view hashes)

Uploaded Source

Built Distribution

git_create_repo-0.0.3-py3-none-any.whl (4.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page