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
parent
commit
385e39cf47
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 27 additions and 0 deletions
  1. +9
    -0
      scripts/gitAliases.sh
  2. +10
    -0
      scripts/gitFlow.sh
  3. +8
    -0
      scripts/mkcd.sh

+ 9
- 0
scripts/gitAliases.sh View File

@ -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 '

+ 10
- 0
scripts/gitFlow.sh View File

@ -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;

+ 8
- 0
scripts/mkcd.sh View File

@ -0,0 +1,8 @@
#! /usr/bin/bash
#Crteated by Jake Zaia
#mkcd -- mkdir and cd
mkdir "$@";
cd "$@";

Loading…
Cancel
Save