- This script takes two arguments: Your github username and the name of your repo.
./github.sh <githubusername> <reponame>
- Make the directory
- Go into the directory
- Initialize the repo and create a
.gitignoreandREADME.md - Then:
git add .git commit -m "Initial Commit"git remote add origingit push origin master
- This script uses the ssh key to push to master.
- I'm working on ways to have users select either origin or upstream options.
- This script opens netflix and my udemy courses for me.
./bring_me.sh <nameofcourse>- Still working on ways to make this more dynamic for other users 01/31/17.
- This script takes one argument, your
git commit -mmessage. - EX:
./gacp.sh <my commit message> - You have the option of adding
" ", but it is not required. - This script runs the following:
git add .git commit -m <your commit message>git push
- This script merges the current branch with another branch that you specify.
- This script will then checkout back to the branch you merged.
- Note: You must push up to the current branch before running this script.
- Run it like so:
./merge_branch.sh <branchyouaremerging> <branchyouwanttomergeinto>- For example, if I'm in branch development and I want to merge into master, I would run
./merge_branch.sh development master
- Deploys to firebase or heroku
- Run by:
./deploy.sh herokuOR./deploy.sh firebase
- Opens the browser and starts a local host.
- Run by:
./loc_host.sh railsOR./loc_host.sh reactOR./loc_host.sh firebase