Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

github repo automation

inspired by Kalle Halden's script to make the same automation script on my own

install & setup

firt clone the repo and modify or create your .bashrc file or .zshrc file

git clone "https://github.com/bruhtazor/init-automation.git"
cd ~
vi .bashrc.sh

then copy in the function the path to the .command.sh file of the cloned repo

#custom create command
create() {bash path/to/file/.command.sh create $1}

then save and restart terminal

cd init-automation
pip install -r requirements.txt

access token

for the script to access your github account you're going to need to create an access token

github's doc on how to do that : https://docs.github.com/en/enterprise-server@3.4/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token

once you have your token find the following line and put your token

#variables used for github access
access_token = ""

last step

last step is to enter your username in the .command.sh file and then you're ready to go

git remote add origin git@github.com:<your username>/$1.git

WIP

the code needs improvements and I'm working on it, any pull requests are welcome

About

automation project inspired by Kalle Hallden's automation script

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages