Skip to content

Instantly share code, notes, and snippets.

@jamesshah
Created November 11, 2019 11:09
Show Gist options
  • Save jamesshah/ddcd167d5edf2a48a78e56930022d971 to your computer and use it in GitHub Desktop.
Save jamesshah/ddcd167d5edf2a48a78e56930022d971 to your computer and use it in GitHub Desktop.
#!/bin/bash
#shell script to automate project initialization.
function create(){
cd
python ./automation1.py $1
cd path/to/your/projects/directory/$1
touch Readme.md
git init
git add .
git commit -m "first commit"
git remote add origin https://github.com/<your_git_username>/$1.git
git push -u origin master
code . #optional - opens up new directory in vs code editor
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment