Skip to content

This is a tool that uses Github API to create a repository, license, and readme template from console

License

Notifications You must be signed in to change notification settings

Akshay-Vs/G-Remote

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

G Remote - Installation and Usage

       

This is a tool that uses Github API to create a repository, license, and readme template from console

git clone https://github.com/Akshay-Vs/G-Remote.git
powershell -ExecutionPolicy ByPass -File G-Remote/git-remote.ps1
👆Copy and paste the command to execute

For Linux Distros

git clone https://github.com/Akshay-Vs/G-Remote.git && cd G-Remote  && chmod +x g-remote.sh && ./g-remote.sh

Setup

  • Open desired directory, then open cmd/powershell in the directory
  • Copy and paste the command
  • Enter the Github username
  • Enter the authentication key provided by GitHub
    • Leaving this blank will redirect to the Personal Access Token page
  • Enter the repository name
    • White spaces will be converted to '-' hyphen
  • Enter a description
  • Select a license
    • The unlicense license is the default
  • Wait for the process to complete and you will be redirected to the remote repository

Execution process

  • Download license and readme template from GitHub
  • Commit all files to the local repository
  • Create a new repository on GitHub using the Github API
  • Push all files to remote repository
  • Open the browser and redirect to the remote repository
  • Delete g-remote files from the directory

Credentials

  • Username - Github username
  • Auth - Authention token
    • permission - repo:Full control of private repository
  • Repo name and Description
    • Repos are private by default

Requierments

  • Git 2.3 above
  • Powershell

Templates

About

This is a tool that uses Github API to create a repository, license, and readme template from console

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published