Last active
April 7, 2020 03:02
-
-
Save pmkay/060bc87a6bbc412efc825b7e9d96bbeb to your computer and use it in GitHub Desktop.
Git and random aliases that I mostly use
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
alias gs="git status" | |
alias gl="git log" | |
alias gcom="git checkout master" | |
alias gaa="git add ." | |
alias gc="git commit -m " | |
alias gp="git push" | |
alias fuckthat="git reset --hard && git clean -df" | |
alias sandbox="cd ~/sandbox" | |
alias art="php artisan" | |
alias fuckds="find . -name .DS_Store -print0 | xargs -0 git rm -f --ignore-unmatch" | |
alias gdf="git diff-tree --no-commit-id --name-only -r " | |
alias ignorecacheshit="!git ls-files -ci --exclude-standard -z | xargs -0 git rm --cached" | |
alias drmsql="docker run --name mysql-57 -e MYSQL_ROOT_PASSWORD=password -v mysql_data:/var/lib/mysql -p 3306:3306 -d mysql:5.7" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment