Skip to content

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.

License

Notifications You must be signed in to change notification settings

Acrsahil/Auto-Git

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

89 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Auto-Git πŸš€

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.

Banner

Table of Contents πŸ“š

  1. Installation
  2. Install Dependencies
  3. Setup
  4. Examples
  5. Requirements
  6. Exit Status Codes
  7. Authors
  8. Bugs and Feedback
  9. Generate Personal Access Token

Installation πŸ› 

Follow these steps to install Auto-Git:

Step 1: Clone the Repository

Clone this repository to your local machine by running:

git clone https://github.com/Acrsahil/Auto-Git.git
cd Auto-Git

Step 2: Install Dependencies

Make sure you have python3 and pip installed

Setup Instructions βš™οΈ

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.

Step 3: Run to install

./install.py

It will ask you to input your GitHub access token.

Guide πŸ“š

Below is a step-by-step guide to help you get Personal Access Tokens:

Step 1: Terminal

Step 1

Step 2: Settings

Step 2

Step 3: Developer Settings

Step 3

Step 4: Personal Access Token

Step 4

Step 5: Tokens (Classic)

Step 5

Step 6: Generate new Token

Step 6

Step 7: Generate new Token (Dropdown)

Step 7

Step 8: New Personal Access Token (Classic)

Step 8

Step 9: Token Expiraion

Step 9

Step 10: Select Scopes

Step 10

Step 11: Generate Token

Step 11

Step 12: Congratulations

Step 12

Step 13: Paste Token

Step 13

Step 14: Kick Out your issue!

Step 14

Examples

Create a Repository:πŸ“‚

gmkdir new-awesome-project

This will create a new repository named new-awesome-project.

Delete Repositories:πŸ—‘

grmdir repo1 repo2

This will delete the repositories repo1 and repo2 from your GitHub account.

List Repositories:πŸ“œ

gls

This will list all the repositories in your GitHub account.

List Repositories Contents:πŸ“

gls repo1 repo2

This will list all the contents inside your repo1 and repo2.

Requirements πŸ“Œ

Python 3.x
GitHub Personal Access Token with appropriate permissions
requests library (Install with pip install requests)

Exit Status Codes 🚦

0: Success βœ…
1: General error ❌
2: Authentication failure πŸ”
3: Invalid repository name ⚠️

Authors πŸ‘¨β€πŸ’»πŸ‘©β€πŸ’»

Sahil Das: Creator and Lead Developer πŸ’»

Bugs and Feedback 🐞

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! πŸš€

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published