Skip to content

Instantly share code, notes, and snippets.

@pavbsu
pavbsu / .bashrc
Last active June 3, 2020 11:00
Git Bash aliases for Windows
# create a file C:\Users\[user]\.bashrc
# add this content
# add your own aliases or changes these ones as you like
# to make a dot (.bashrs) file in windows, create a file ".bashrs." (without extention) and save. windows will save it as ".bashrc"
# run `source ~/.bashrc` in console
alias la='ls -A'
alias l='ls -CF'
alias gs='git status -bsu'
@pavbsu
pavbsu / .gitconfig
Last active September 3, 2018 08:29
# install Meld from http://meldmerge.org/
# create a file C:\Users\[user]\.gitconfig
# add this content with your email and name
[user]
email = <your email here>
name = <your name here>
[diff]
tool = meld
[difftool "meld"]