De Macamba
De Macamba

Reputation: 61

Git in same directory for Mac and Windows 10

Yesterday I started using Git to version control documents I'm working on. I use two systems, a Windows 10 desktop, and a MacBook Air. I save the documents to a directory on the internet, think Dropbox.

I configured Git to use the internet directory for Windows 10. Is it also possible to use this same directory for Git on my Mac? Or do I instruct my Git on the Mac to use a different directory on the Mac?

Git Mac: 2.15.1 (No manual entry for gitwork-tree) Git Windows 10: 2.16.2.windows.1

Upvotes: 0

Views: 155

Answers (1)

Paulo Francisco
Paulo Francisco

Reputation: 21

Every version control system maintains the directory name of the local folder the same name as the repository (Source Folder). Then if you clone your project from git repository ( git clone https://github.com/myaccount/my-project ) the diretory name in any Operating System will be the same of the repository "my-project".

Upvotes: 2

Related Questions