Skip to main content

Command Line to Extract the git url

Project description

GIT URL GETTER

 

Github Has Released the Github CLI (Command Line Interface) using we can create the Github Repo in terminal only without Browsing the Browser.

But in Github CLI you cannot get the git url so using Giturlgetter Python Library you can get the git url using very simple steps.

You Either Use the Python Library or the GUI which is in Another branch.

Installation :

Install the Library from the command pip :

pip install Giturlgetter

Or Install using the git repository

Clone the Repository

git clone https://github.com/PrathameshDhande22/Giturlgetter.git
cd Giturlgetter

Install Using the setup.py

cd .\dist\
pip install .\Giturlgetter-0.4-py3-none-any.whl

You Have Successfully Installed the Library.

Automate Your Github Work :

If You are Tired of Creating the Github Repository in browser and then copying the git url so it becomes the Complicated work.

Download the GitHub CLI from Here.
Before Installing the GitHub CLI please install the git from Here
Read the Manual for GitHub CLI
Python >=3.6 Should be install in you System.

Create the GitHub Repo without Visiting the Browser:

  • To Create The GitHub Repo.
    Use Command :
gh repo create

Select the Options.

Note : Don't select the Clone Repo or not create any file.

  • Initialise the git using.
git init
git add .
git commit -m "First Commit"
  • After Installing the Giturlgetter library.
    Run the Following command :
giturl

This will ask to Enter the Github API Token, So Generate The Token From Here
Let's Go.
Select the Option 1 To get the Git Url -> Enter the Github Username of which you want the URL -> After Generating the List of Repos -> Enter the Index Number of the Repository name -> After the Git URL will be copied to Your clipboard.

Author : Prathamesh Dhande

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

Giturlgetter-0.4.1.tar.gz (12.6 kB view hashes)

Uploaded Source

Built Distribution

Giturlgetter-0.4.1-py3-none-any.whl (12.2 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