File tree Expand file tree Collapse file tree 8 files changed +8
-14
lines changed
Expand file tree Collapse file tree 8 files changed +8
-14
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ mkdir ./lib
44
55echo " Downloading Forgit"
66wget https://raw.githubusercontent.com/wfxr/forgit/master/bin/git-forgit -O ./lib/forgit.sh
7+ chmod +x ./lib/forget.sh
78
89echo " Downloading Git Extras"
910wget https://github.com/tj/git-extras/raw/master/bin/git-rename-branch -O ./lib/rename-branch.sh
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ parameters=($1)
99
1010if [[ ${parameters[2]} == " " ]]; then
1111 DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " > /dev/null 2>&1 && pwd ) "
12- source " $DIR " /../lib/forgit.sh
13- forgit::add
12+ " $DIR " /../lib/forgit.sh add
1413 exit 1
1514fi
Original file line number Diff line number Diff line change @@ -33,7 +33,6 @@ set -- "$*"
3333parameter=${parameters[2]}
3434if [[ $parameter == " " ]]; then
3535 DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " > /dev/null 2>&1 && pwd ) "
36- source " $DIR " /../lib/forgit.sh
37- forgit::checkout::branch
36+ " $DIR " /../lib/forgit.sh checkout-branch selector
3837 exit 1
3938fi
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ parameters=($1)
99
1010if [[ ${parameters[2]} == " " ]]; then
1111 DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " > /dev/null 2>&1 && pwd ) "
12- source " $DIR " /../lib/forgit.sh
13- forgit::clean
12+ " $DIR " /../lib/forgit.sh clean
1413 exit 1
1514fi
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ parameters=($1)
99
1010if [[ ${parameters[2]} == " " ]]; then
1111 DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " > /dev/null 2>&1 && pwd ) "
12- source " $DIR " /../lib/forgit.sh
13- forgit::diff
12+ " $DIR " /../lib/forgit.sh diff
1413 exit 1
1514fi
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ parameters=($1)
99
1010if [[ ${parameters[2]} != " " ]]; then
1111 DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " > /dev/null 2>&1 && pwd ) "
12- source " $DIR " /../lib/forgit.sh
13- forgit::log
12+ " $DIR " /../lib/forgit.sh log
1413 exit 1
1514fi
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ parameters=($1)
99
1010if [[ ${parameters[2]} == " -i" && ${parameters[3]} == " " ]]; then
1111 DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " > /dev/null 2>&1 && pwd ) "
12- source " $DIR " /../lib/forgit.sh
13- forgit::rebase
12+ " $DIR " /../lib/forgit.sh rebase
1413 exit 1
1514fi
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ parameters=($1)
99
1010if [[ ${parameters[2]} == " " ]]; then
1111 DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " > /dev/null 2>&1 && pwd ) "
12- source " $DIR " /../lib/forgit.sh
13- forgit::reset::head
12+ " $DIR " /../lib/forgit.sh reset HEAD
1413 exit 1
1514fi
You can’t perform that action at this time.
0 commit comments