Add git aliases
This commit is contained in:
15
bin/tiger-env.sh
Normal file
15
bin/tiger-env.sh
Normal file
@@ -0,0 +1,15 @@
|
||||
# must be included
|
||||
# TODO add test for running or include
|
||||
|
||||
if [[ $_ = $0 ]]; then
|
||||
echo "Must be sourced!"
|
||||
else
|
||||
echo "Sourcing ok"
|
||||
fi
|
||||
|
||||
alias dcm='docker-compose -f docker-compose.yaml -f docker-compose-monitoring.yaml'
|
||||
alias dcfilter="sed -r 's/^[^|]+\| //g'"
|
||||
|
||||
export MIN_SERVICES="pulsar-create-namespace postgres redis jaeger router"
|
||||
export SERVICES="afm-exec-api sql-executor scan-model router data-loader"
|
||||
|
||||
@@ -6,19 +6,26 @@ set -x
|
||||
#git config --global user.email martin.blazik@gooddata.com
|
||||
|
||||
git config --global core.editor vim
|
||||
|
||||
git config --global alias.st status
|
||||
git config --global alias.br branch
|
||||
|
||||
git config --global alias.co checkout
|
||||
git config --global alias.cob "checkout -b"
|
||||
git config --global alias.br branch
|
||||
|
||||
git config --global alias.ci commit
|
||||
git config --global alias.cif "commit --fixup"
|
||||
git config --global alias.cia "commit --amend"
|
||||
git config --global alias.st status
|
||||
git config --global alias.unstage "reset HEAD --"
|
||||
git config --global alias.ls "log --oneline"
|
||||
git config --global alias.aliases "config --get-regexp alias"
|
||||
git config --global alias.configs "config --list"
|
||||
git config --global alias.undo-commit "reset --soft HEAD^"
|
||||
|
||||
git config --global alias.rbi "rebase -i --autosquash"
|
||||
git config --global alias.rba "rebase --abort"
|
||||
git config --global alias.rbc "rebase --continue"
|
||||
|
||||
git config --global alias.unstage "reset HEAD --"
|
||||
git config --global alias.undo "reset --soft HEAD^"
|
||||
git config --global alias.wipe $'!sh -c \'git push $1 --delete $2\' -'
|
||||
git config --global alias.fpa "fetch -p --all"
|
||||
|
||||
git config --global alias.ls "log --oneline"
|
||||
git config --global alias.aliases "config --get-regexp alias"
|
||||
git config --global alias.configs "config --list"
|
||||
|
||||
Reference in New Issue
Block a user