Last active
February 27, 2020 06:51
-
-
Save Sadbot/3ab8d2706077678aaaac4f1c31cc9bbd to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| # Git alias | |
| alias gs='git status' | |
| alias ga='git add' | |
| alias gb='git branch' | |
| alias gc='git commit' | |
| alias gd='git diff' | |
| alias gco='git checkout' | |
| alias gp='git pull' | |
| alias gps='git push' | |
| alias gm='git merge' | |
| alias gl='git log' | |
| alias gf='git fetch -p' | |
| alias gcl='git clone' | |
| alias gba='git branch -a' | |
| alias gca='git commit -am' | |
| alias ghist='git log --pretty=format:"%h|%cn|%cd| %s" --graph' | |
| alias ghisto='git log --pretty=format:"%h|%cn|%cd| %Cgreen%s%Creset %Cred%d%Creset" --graph --color=always' | |
| # Alias | |
| alias la='ls -la' | |
| alias cup='composer update --ignore-platform-reqs' | |
| alias cin='composer install --ignore-platform-reqs' | |
| alias putin='php vendor/bin/phpunit -c t/phpunit.xml' | |
| # docker | |
| alias dc="docker-compose" | |
| alias dcu="docker-compose up" | |
| alias dcd="docker-compose down" | |
| alias dcr="docker-compose run" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment