Skip to main content

Source Control

Git

Clients

Useful Git Commands

Cross-platform development, normalize linefeeds

git config --global core.autocrlf false

Git for monthly status updates

git log --after="2023-08-01" --before="2023-08-28" --pretty=oneline > changes.txt

Add a trusted directory inside WSL so that Sourcetree can see it

git config --global --add safe.directory '%(prefix)///wsl.localhost/Ubuntu/home/rob/projects/project'

Self Hosted