mirror of
https://github.com/lloeki/dotfiles.git
synced 2025-12-06 07:24:39 +01:00
Compare commits
3 commits
037c5a13c3
...
1c49ca503a
| Author | SHA1 | Date | |
|---|---|---|---|
| 1c49ca503a | |||
| 25de733bcf | |||
| 7877409124 |
2 changed files with 2 additions and 1 deletions
|
|
@ -16,6 +16,7 @@
|
||||||
ff = only
|
ff = only
|
||||||
[url "git@github.com:"]
|
[url "git@github.com:"]
|
||||||
pushInsteadOf = https://github.com/
|
pushInsteadOf = https://github.com/
|
||||||
|
insteadOf = https://github.com/
|
||||||
[url "git@gitlab.com:"]
|
[url "git@gitlab.com:"]
|
||||||
pushInsteadOf = https://gitlab.com/
|
pushInsteadOf = https://gitlab.com/
|
||||||
[url "git@gitlab.adhoc-gti.com:"]
|
[url "git@gitlab.adhoc-gti.com:"]
|
||||||
|
|
@ -40,7 +41,7 @@
|
||||||
save = !git add -A && git commit -m 'SAVEPOINT'
|
save = !git add -A && git commit -m 'SAVEPOINT'
|
||||||
undo = reset HEAD~1 --mixed
|
undo = reset HEAD~1 --mixed
|
||||||
backup = !git push origin/backup/$(whoami)/$(git branch)
|
backup = !git push origin/backup/$(whoami)/$(git branch)
|
||||||
lint = !git branch --merged | grep -v \"^\\s*master$\" | grep -v \"\\*\" | xargs -n 1 git branch -d
|
lint = !git branch --merged ${1-} | grep -v -E -e '^[*]?[ ]*(main|master|[0-9]+[.]([0-9]+|x)-stable)$' -e '^[*][ ]+' | xargs -r -n 1 git branch -d
|
||||||
modified = !git status --porcelain | perl -ne '/^M (.*)/ and print \"$1\\n\"'
|
modified = !git status --porcelain | perl -ne '/^M (.*)/ and print \"$1\\n\"'
|
||||||
conflicts = !git status --porcelain | perl -ne '/^UU (.*)/ and print \"$1\\n\"'
|
conflicts = !git status --porcelain | perl -ne '/^UU (.*)/ and print \"$1\\n\"'
|
||||||
fetch-pr = !git fetch origin pull/${1}/head:pr/${1}
|
fetch-pr = !git fetch origin pull/${1}/head:pr/${1}
|
||||||
|
|
|
||||||
0
shell/docker
Executable file → Normal file
0
shell/docker
Executable file → Normal file
Loading…
Add table
Add a link
Reference in a new issue