Created
May 27, 2022 22:35
-
-
Save tranquan/29e47c38bf8e65d9743ea2c72dfe17d8 to your computer and use it in GitHub Desktop.
Bash profile for windows
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 ls='ls -F --color=auto --show-control-chars' | |
alias ll='ls -l' | |
alias g='git' | |
alias gg='git push' | |
alias ggf='git push --force-with-lease' | |
alias gp='git pull' | |
alias gf='git fetch' | |
alias gfa='git fetch --all --prune' | |
alias gcb='git checkout -b' | |
alias gco='git checkout' | |
alias gbs='git bisect' | |
alias gf-master='git fetch origin master:master' | |
# Yarn start with esbuild | |
alias yarn-es='yarn start --bundler esbuild' | |
# Open new git bash as current dir | |
alias git-bash='/git-bash.exe & > /dev/null 2&>1' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment