Skip to content

Latest commit

 

History

History
65 lines (54 loc) · 2.51 KB

README.md

File metadata and controls

65 lines (54 loc) · 2.51 KB

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