mirror of
https://github.com/Mastermindzh/dotfiles.git
synced 2024-11-28 01:24:46 +01:00
moving git aliases + adding a few new ones
This commit is contained in:
parent
889139a906
commit
7226d89031
@ -26,12 +26,6 @@ alias internalip=$'ip route get 8.8.8.8 | awk \'NR==1 {print $NF}\''
|
||||
#show 5 most memory consuming apps
|
||||
alias psmem='ps auxf | sort -nr -k 5 | head -n 5'
|
||||
|
||||
#git
|
||||
alias gitdiff='git diff --name-only --diff-filter=U'
|
||||
alias status='git status'
|
||||
alias push='git push'
|
||||
alias add='git add .'
|
||||
|
||||
#dotnet core
|
||||
alias efupdate="dotnet ef database update"
|
||||
alias efmigrate="dotnet ef migrations add"
|
||||
|
@ -3,3 +3,7 @@
|
||||
name = Mastermindzh
|
||||
[alias]
|
||||
tree = log --graph --decorate --pretty=format:'%ar [%h] %an <%ae> - %s'
|
||||
graph = log --graph --pretty=format:'%C(bold)%h%Creset%C(magenta)%d%Creset %s %C(yellow)<%an> %C(cyan)(%cr)%Creset' --abbrev-commit --date=relative
|
||||
stats = !git graph --stat
|
||||
pushall = !git remote | xargs -L1 git push --all
|
||||
diffname = !git diff --name-only
|
||||
|
Loading…
Reference in New Issue
Block a user