This is for a network drive. My colleague and I are in the same directory and are both using Git Bash.
On the Windows computer (this is the correct one):
$ git status
On branch master
nothing to commit, working tree clean
On the Mac (this is incorrect):
On branch master
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: .gitignore
...[some more files]...
no changes added to commit (use "git add" and/or "git commit -a")
I first suspected this was due to the Mac not being able to see the hidden .git
folder at first, but unhiding this didn't do anything.
If this is helpful, I have this network drive under the letter name S:/
in Windows, but in the Mac, this directory is being accessed through Volumes/
. I don't know enough about Macs to know if this matters.
Any ideas about where to begin would be excellent.