-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgit.sh
52 lines (34 loc) · 2.16 KB
/
git.sh
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
45
46
47
48
49
#!/bin/sh
git clone
git clone [email protected]:sysINFLAME/Rmodules.git
git clone [email protected]:sysINFLAME/SmartR.git
git clone [email protected]:sysINFLAME/transmartApp.git
git clone [email protected]:sysINFLAME/transmart-core-db.git
find `pwd` -iname .git -type d | sed -Ee 's/^/cd /g' -e 's/\.git$/ \&\& git pull/g' | sh
git -c diff.mnemonicprefix=false -c core.quotepath=false push -v --tags bitbucket master:master
git -c diff.mnemonicprefix=false -c core.quotepath=false push -v --tags --set-upstream ikmb master:master
git status | grep modified | grep '/' | sed -Ee 's/.*:\s+//g' -e 's/(.*)/mv -v \1 \1~/g' | sh
git pull 2>&1 | grep -E '^\s+' | sed -Ee 's/^\s+//g' -e 's/(.*)/mv -v \1 \1~/g' | sh
setup-x86_64.exe -q -P git,make,gcc-core,gcc-g++,cmake
git -c diff.mnemonicprefix=false -c core.quotepath=false revert --no-edit 3f3a0f29cb834a303342ffaacc49c1403cc1362b
git checkout --theirs *
git status | grep "both modified" | gawk '{print $3}' | xargs -n1 git checkout --theirs
git status | grep "both modified" | gawk '{print $3}' | sed -e 's/^/git checkout --theirs /g'
git merge --strategy-option theirs
git reset --hard HEAD
git -c filter.lfs.smudge= -c filter.lfs.required=false -c diff.mnemonicprefix=false -c core.quotepath=false clone --branch master [email protected]:tmfev/Dockerbank.git C:\Users\t.richter\git\Dockerbank
git clone --branch master [email protected]:tmfev/Dockerbank.git Dockerbank
git --work-tree=where/my/code/is --git-dir=some/path/to/my/.git status
git --work-tree=/cygdrive/c/Users/t.richter/AppData/Roaming/jEdit/modes --git-dir=/cygdrive/c/Users/t.richter/git/jedit-docker-mode/.git
git update-index
git prune
git repack
git push --set-upstream [email protected]:suktm428/$(git rev-parse --show-toplevel | xargs basename).git $(git rev-parse --abbrev-ref HEAD)
git config --system core.symlinks true
# force pull
git fetch --all && git reset --hard origin/master && git pull origin master
git checkout --force feature/epic_FWA-15-XML_Verarbeitung --progress
git config --global user.name "Thomas Richter"
git config --global user.email "[email protected]"
git config user.name "Thomas Richter"
git config user.email "[email protected]"