This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[core] | |
editor = \"C:\\Users\\vinic\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe\" --wait | |
[user] | |
name = Vinícius Pereira | |
email = viniciuspsb@gmail.com | |
[alias] | |
c = checkout | |
ft = fetch | |
ftp = fetch --prune | |
ps = push origin | |
psf = push origin --force | |
pl = pull | |
plr = pull --rebase | |
cm = commit -m | |
cma = commit --amend -m | |
cman = commit --amend --no-edit | |
rbi = rebase -i | |
rba = rebase --abort | |
rbc = rebase --continue | |
mff = merge | |
mnff = merge --no-ff | |
msq = merge --squash | |
mrb = rebase | |
ma = merge --abort | |
chp = cherry-pick | |
rmff = !git plr && git merge | |
rmnff = !git plr && git merge --no-ff | |
rmsq = !git plr && git merge --squash | |
rmrb = !git plr && git rebase | |
st = stash -k -u | |
stt = stash -k --staged | |
stl = stash list | |
sts = stash show | |
sta = stash apply | |
stp = stash pop | |
std = stash drop | |
stc = stash clear | |
rss = reset --soft | |
rsm = reset --mixed | |
rsh = reset --hard | |
rsu = reset 'HEAD@{1}' | |
rvt = revert | |
rvtn = revert --no-commit | |
cbl = branch | |
dbl = branch -d | |
dtl = tag -d | |
dbtr = push origin --delete | |
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit | |
lgcsv = log --date=iso --pretty=format:%cI,%h,%an,%ae,%s > git-log.csv | |
gph = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all | |
dff = diff --color-words | |
bcp = !git branch --show-current | clip | |
upbm = !git c master && git plr && git c users/vinicius/BeforeMaster && git mrb master | |
upbr = !git c releases/1.0.0 && git plr && git c users/vinicius/BeforeRelease && git mrb releases/1.0.0 | |
devtomain = !git c dev && git pb && git push && git c main && git mnff dev && git push |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment