-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathgitcommand.txt
35 lines (28 loc) · 968 Bytes
/
gitcommand.txt
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
Signed-off-by: Markus Michels <[email protected]> (github: markus7017)
# set remote to markus7017 repo
git remote set-url origin https://github.com/markus7017/openhab-addons.git
git fetch origin
git remote set-url origin https://github.com/openhab/openhab-addons.git
git remote set-url --push origin https://github.com/markus7017/openhab-addons.git
git remote -v
git fetch origin
#rebase
git fetch
git rebase origin/main
<resolve conflicts, use „git add“ for changed files>
git rebase --continue
git push origin +<your branch name>
git push origin +gree_snapshot
git push origin +rachio_snapshot
#build .jar and .kar
mvn clean install
mvn karaf:kar
#rename local and remote branch
git branch -m fsinternetradio_sav
git push origin :fsinternetradio_sav
git push origin -u fsinternetradio_sav
git branch
git config --global credential.helper store
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
mvn spotless:apply
mvn spotless:check -Dspotless.check.skip=false