Code Monkey home page Code Monkey logo

aranmesquita / github_automation Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 7 KB

Github_automation is a command-line interface (CLI) project, that utilises a PowerShell script, that I wrote, to automate the process of pushing an existing project to GitHub, or to automate creating a new project (in your projects directory) and its respective GitHub Repository on your GitHub.

Home Page: https://www.linkedin.com/in/aran-mesquita

License: MIT License

PowerShell 100.00%
automation command-line-tool github github-automation powershell command command-line git git-repository github-api

github_automation's Introduction

Github automation using PowerShell

github_automation.ps1 is a PowerShell script to automate the process of pushing an existing project to your Github or to automate creating a new project (in your projects directory) and its respective Github repo, on your Github.

Prerequisites:

Make sure that Git and Github cli is installed and that you have authenticated Git to GitHub cli before using github_automation.ps1 commands.

Install Git:

Install Github cli:

Run this command authenticate Git to GitHub:

PS C:\Users\User>gh auth login

Installation:

PS C:\Users\User>gh repo clone AranMesquita/Github_automation
PS C:\Users\User>. .\Github_automation\github_automation.ps1

If the installation is not working visit:

Usage examples:

Existing Project:

PS C:\Users\User> github_automation existing-project "C:\Users\User\desktop\Projects\github_automation_folder" "github_automation"

New Project:

PS C:\Users\User> github_automation new-project "C:\Users\User\desktop\Projects" "github_automation"

Extra info:

๐Ÿง‘โ€๐Ÿ’ปI have also uploaded the github_automation.ps1 code snippet to my gists.

github_automation's People

Contributors

aranmesquita avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.