From 9050f39eded345e2fafb4d2f23e3b265cdc5ca45 Mon Sep 17 00:00:00 2001 From: Jake Zaia Date: Fri, 12 Oct 2018 20:18:24 -0400 Subject: [PATCH 1/4] Add git script --- scripts/gitFlow.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 scripts/gitFlow.sh diff --git a/scripts/gitFlow.sh b/scripts/gitFlow.sh new file mode 100755 index 0000000..358645f --- /dev/null +++ b/scripts/gitFlow.sh @@ -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; From d1307573ea5b5c13a6ddcd67054379fc213e45f9 Mon Sep 17 00:00:00 2001 From: Jake Zaia Date: Fri, 12 Oct 2018 20:29:05 -0400 Subject: [PATCH 2/4] Add mkcd.sh --- scripts/mkcd.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 scripts/mkcd.sh diff --git a/scripts/mkcd.sh b/scripts/mkcd.sh new file mode 100755 index 0000000..4b2e1cb --- /dev/null +++ b/scripts/mkcd.sh @@ -0,0 +1,8 @@ +#! /usr/bin/bash + +#Crteated by Jake Zaia + +#mkcd -- mkdir and cd + +mkdir "$@"; +cd "$@"; From 278d1373d95a7ab847b19d3c63a99f2e0d2bd5b6 Mon Sep 17 00:00:00 2001 From: Jake Zaia Date: Fri, 12 Oct 2018 20:34:24 -0400 Subject: [PATCH 3/4] Add aliases --- scripts/gitAliases.sh | 9 +++++++++ scripts/gitAliases.sh~ | 12 ++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 scripts/gitAliases.sh create mode 100644 scripts/gitAliases.sh~ diff --git a/scripts/gitAliases.sh b/scripts/gitAliases.sh new file mode 100644 index 0000000..5732844 --- /dev/null +++ b/scripts/gitAliases.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 ' diff --git a/scripts/gitAliases.sh~ b/scripts/gitAliases.sh~ new file mode 100644 index 0000000..e852954 --- /dev/null +++ b/scripts/gitAliases.sh~ @@ -0,0 +1,12 @@ +#! /usr/bin/bash + +#Created by Jake Zaia + +#The contents of this file should be copied to ~/.bash_aliases + #One could also use this file, but theabove method is preferred. + +alias aa='git add .' +alias pull='git pull && ls' +alias push='git push' +alias commit='git commit -am ' +alias hi='echo potato' From cad1d1ee30883c33ab47b4763f315cd078d6624a Mon Sep 17 00:00:00 2001 From: Jake Zaia Date: Fri, 12 Oct 2018 20:37:06 -0400 Subject: [PATCH 4/4] Remove useless file --- scripts/gitAliases.sh~ | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 scripts/gitAliases.sh~ diff --git a/scripts/gitAliases.sh~ b/scripts/gitAliases.sh~ deleted file mode 100644 index e852954..0000000 --- a/scripts/gitAliases.sh~ +++ /dev/null @@ -1,12 +0,0 @@ -#! /usr/bin/bash - -#Created by Jake Zaia - -#The contents of this file should be copied to ~/.bash_aliases - #One could also use this file, but theabove method is preferred. - -alias aa='git add .' -alias pull='git pull && ls' -alias push='git push' -alias commit='git commit -am ' -alias hi='echo potato'