Created
November 11, 2019 11:09
-
-
Save jamesshah/ddcd167d5edf2a48a78e56930022d971 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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