Browse Source
Merge pull request #6 from jzaia18/custom-bashscripts
Add custom bashscripts from Jake
pull/9/head
Jeffery Russell
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
27 additions and
0 deletions
-
scripts/gitAliases.sh
-
scripts/gitFlow.sh
-
scripts/mkcd.sh
|
@ -0,0 +1,9 @@ |
|
|
|
|
|
#Created by Jake Zaia |
|
|
|
|
|
|
|
|
|
|
|
#The contents of this file should be copied to ~/.bash_aliases |
|
|
|
|
|
#Do NOT run this file as a script, it will do nothing. |
|
|
|
|
|
|
|
|
|
|
|
alias aa='git add .' |
|
|
|
|
|
alias pull='git pull && ls' |
|
|
|
|
|
alias push='git push' |
|
|
|
|
|
alias commit='git commit -am ' |
|
@ -0,0 +1,10 @@ |
|
|
|
|
|
#! /usr/bin/bash |
|
|
|
|
|
|
|
|
|
|
|
#Created by Jake Zaia |
|
|
|
|
|
|
|
|
|
|
|
#Takes in one argument, a commit message, and handles the entire git workflow. |
|
|
|
|
|
|
|
|
|
|
|
git pull; |
|
|
|
|
|
git add .; |
|
|
|
|
|
git commit -am "$1"; |
|
|
|
|
|
git push; |
|
@ -0,0 +1,8 @@ |
|
|
|
|
|
#! /usr/bin/bash |
|
|
|
|
|
|
|
|
|
|
|
#Crteated by Jake Zaia |
|
|
|
|
|
|
|
|
|
|
|
#mkcd -- mkdir and cd |
|
|
|
|
|
|
|
|
|
|
|
mkdir "$@"; |
|
|
|
|
|
cd "$@"; |