File tree 1 file changed +13
-8
lines changed
1 file changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -22,28 +22,33 @@ alias gc="git commit"
22
22
alias gcm="git commit -m"
23
23
alias gps="git push"
24
24
alias gpl="git pull"
25
-
25
+ alias gmps="git push --recurse-submodules=on-demand"
26
+ alias gmpl="git pull --recurse-submodules"
26
27
27
28
alias updateMachine="sudo apt update -y && sudo apt upgrade -y && sudo apt full-upgrade -y"
28
29
alias myjupyter="cd && cd learning/my_jupyter_works/ && source my_jupyter_works/bin/activate && jupyter notebook"
29
30
alias mvnCleanInstallSkipTest="mvn clean install -DskipTests"
30
31
31
- gmerge (){
32
+
33
+ #my alias function
34
+
35
+ killport () {
36
+ PID=$(sudo lsof -t -i:$1)
37
+ sudo kill -9 ${PID}
38
+ }
39
+
40
+ gmerge () {
32
41
git checkout $1 && git merge $2 && git pull && git push && git checkout $2
33
42
}
34
43
35
- #my alias function
36
44
goto () {
37
45
cd ~/workspace/
38
46
if [ -d "$1" ]; then
39
47
cd "$1"
40
48
if [ -d "project" ]; then
41
49
cd project/
42
- else
43
- echo "Directory 'Project' missing";
44
50
fi
45
51
else
46
- echo "Directory $1 not found."
52
+ echo "Directory '$1' not found."
47
53
fi
48
- }
49
-
54
+ }
You can’t perform that action at this time.
0 commit comments