Most of the problems come from Windows not being POSIX compliant, I guess. None of these problems in macOS or Linux.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Most of the problems come from Windows not being POSIX compliant, I guess. None of these problems in macOS or Linux.
For further actions, you may consider blocking this person and/or reporting abuse
yemingfeng -
Shahed Nasser -
Ben Halpern -
Alexis Zamanidis -
Discussion (4)
Normally it will work just after installation. But if you want to go further you can configure it with:
git config --global user.name "Your Name"
git config --global user.email "your.name@example.com"
You can check this if you want to setup your SSH agent: click here
I have a dotfiles repo, so I just create a Symbolic Link on ~/.gitconfig that points to my local repository. Actually, I've been doing that with a lot of files, and also experimenting with a setup process written in PowerShell.
A nice addition to my config was conditional includes on .gitconfig, allowing me to override settings based on the current working directory I'm using Git on.
I use that for setting my GPG commit-signing keys for work and personal projects.
You'll find that Git on Windows works pretty much as on Linux, I never found myself missing a feature or something like that.
I push and pull cross platform software often back and forth from Linux to Windows and vice-versa and the only problem I've ever had were with line endings; which, is easily fixable by using
core.eol
correctly.Please elaborate.
So, you didn't configure correctly immediately on first install.
Do you
.git/config
~/.gitconfig
git config --global
?