Auto-Git is a set of command-line utilities for managing GitHub repositories and their contents directly from the terminal. It simplifies common GitHub tasks such as creating, deleting, and listing repositories, as well as listing the contents of those repositories.
- Installation
- Install Dependencies
- Setup
- Examples
- Requirements
- Exit Status Codes
- Authors
- Bugs and Feedback
- Generate Personal Access Token
Follow these steps to install Auto-Git:
Clone this repository to your local machine by running:
git clone https://github.com/Acrsahil/Auto-Git.git
cd Auto-Git
Make sure you have python3 and pip installed
Before using Git-Auto, ensure that you have configured your GitHub access token for authentication.
Generate GitHub Personal Access Token
Visit your GitHub Personal Access Tokens page.
Click Generate new token.
Select the necessary permissions (e.g., repo for full repository access).
Save the token securely.
./install.py
It will ask you to input your GitHub access token.
Below is a step-by-step guide to help you get Personal Access Tokens:
gmkdir new-awesome-project
This will create a new repository named new-awesome-project.
grmdir repo1 repo2
This will delete the repositories repo1 and repo2 from your GitHub account.
gls
This will list all the repositories in your GitHub account.
gls repo1 repo2
This will list all the contents inside your repo1 and repo2.
Python 3.x
GitHub Personal Access Token with appropriate permissions
requests library (Install with pip install requests)
0: Success β
1: General error β
2: Authentication failure π
3: Invalid repository name β οΈ
Sahil Das: Creator and Lead Developer π»
If you encounter any issues or have suggestions for improvements, please open an issue on the GitHub Repository. We'd love to hear from you! π
Happy automating! π