-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathinstaller.sh
More file actions
44 lines (41 loc) · 1.16 KB
/
installer.sh
File metadata and controls
44 lines (41 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#!/usr/bin/bash
if [ -d ~/.git-extensions ]; then
pushd ~/.git-extensions
git pull
popd
else
git clone https://github.com/muratayusuke/git-extensions.git ~/.git-extensions
fi
shell=`echo ${SHELL} | awk -F/ '{ print $NF }'`
if [ ${shell} = "sh" ]; then
shell="bash"
fi
echo
echo
echo "================================"
echo " install completed"
echo "================================"
echo
echo "Please add the line to ~/.${shell}rc :"
echo
echo " [[ -s ~/.git-extensions/scripts/init ]] && source ~/.git-extensions/scripts/init"
echo
echo "You need to run 'source ~/.${shell}rc' before you can start using git-extensions."
echo
echo "================================"
echo "After that, you can use following command:"
echo
echo " git bk"
echo " git mkbr"
echo " git ffcheck [master|develop]"
echo " git mktopic <branch_name>"
echo " git mkreltag <tag_name>"
echo " git remove-remote-branch <repository> <branch_name>"
echo " git ex version"
echo " git ex upgrade"
echo " git ex push"
echo " git ex tag <tag_name>"
echo
echo "for more infromation, check this url:"
echo " https://github.com/muratayusuke/git-extensions"
echo