Skip to content

Instantly share code, notes, and snippets.

@tranquan
Created May 27, 2022 22:35
Show Gist options
  • Save tranquan/29e47c38bf8e65d9743ea2c72dfe17d8 to your computer and use it in GitHub Desktop.
Save tranquan/29e47c38bf8e65d9743ea2c72dfe17d8 to your computer and use it in GitHub Desktop.
Bash profile for windows
# 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