mirror of
https://gitea.zaclys.com/yannic/dotfiles.git
synced 2026-06-15 11:11:57 +02:00
add git alias
This commit is contained in:
+2
-1
@@ -7,17 +7,18 @@
|
|||||||
default = current
|
default = current
|
||||||
[alias]
|
[alias]
|
||||||
a = add
|
a = add
|
||||||
|
ahead-of-master = log --oneline origin/master..HEAD
|
||||||
b = "!git checkout $(git branch | fzf)"
|
b = "!git checkout $(git branch | fzf)"
|
||||||
c = commit
|
c = commit
|
||||||
cd = checkout develop
|
cd = checkout develop
|
||||||
cm = checkout master
|
cm = checkout master
|
||||||
cp = cherry-pick
|
cp = cherry-pick
|
||||||
f = fetch
|
f = fetch
|
||||||
fo = fetch origin
|
|
||||||
m = merge
|
m = merge
|
||||||
nb = checkout -b
|
nb = checkout -b
|
||||||
p = push -u origin
|
p = push -u origin
|
||||||
s = status
|
s = status
|
||||||
track = "!for BRANCH in $(git branch -a | grep remotes | grep -v HEAD | grep -v master); do git branch --track \"${BRANCH#remotes/origin/}\" \"${BRANCH}\"; done"
|
track = "!for BRANCH in $(git branch -a | grep remotes | grep -v HEAD | grep -v master); do git branch --track \"${BRANCH#remotes/origin/}\" \"${BRANCH}\"; done"
|
||||||
|
work-in-progress = rebase -i @{u}
|
||||||
[include]
|
[include]
|
||||||
path = ~/.gitconfig_custom.inc
|
path = ~/.gitconfig_custom.inc
|
||||||
|
|||||||
Reference in New Issue
Block a user