whatching our global git setting in default editor:
git config --global -e
setting default editor:
git config --global diff.tool vscode
setting end of line: in windows:
git config --global core.autocrlf true
in linux
git config --global core.autocrlf input
zsh in windows -> posh-git
git log --oneline
seeing files in staging area:
git ls-files
remove file from staging area(index):
git rm --chached -r bin/
how to delete local changes:
git clean fd