Skip to content

weigriffiths/git-automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Git Automation Tool

What is Git Automate?

Git automate is a convenient time-saving tool which automatically creates both a local repo on the client side and a remote repo on Github.

  1. Navigates to folder with python script
  2. Creates a folder with project name
  3. Navigates into folder
  4. git init
  5. Goes to GitHub and creates a new repository (start private)
  6. Copies the remote repo ssh
  7. Adds a remote to the local folder
  8. Creates a README file
  9. Git add .
  10. Git commit
  11. Git push -u origin master
  12. Code .
  13. Add source function to .zshrc or .bash_profile

Installation

  1. You can either clone it via github or fork it.
  2. Open git-automate.sh file
  3. Edit line 1 to allow access to either zsh/bash/exe file
  4. Change the file path
  5. Save and run

Usage

Program is executed using the command create repo_name

Notes

Remember to make the shell script executable by running chmod +x git-automate.sh.

In the .bash_profile or .zshrc file in root directory add the following line to the file:

source ~/path/to/git-automate.sh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published