I am trying out Nitrous.io -- it is a very nice tool. I am also using Nitrous' Mac application which syncs box content to a local directory -- except I have noticed that it doesn't sync the .git
directory. I assume this is intentional(?). Is there a list someplace that describes what is and what is not synced?
You can update the file <home dir>\Nitrous\<box name>\.unison\default.prf
and add any configuration there per the manual: http://www.cis.upenn.edu/~bcpierce/unison/download/releases/stable/unison-manual.html
Mine contains this line, for example:
ignore=Name node_modules
This way my node_modules
folder is not synced in either direction.
You could add this line to yours:
ignorenot=Name .git
As @ajhit406 noted though, you should handle your git actions in one place (the box, in this case).
The .git
directory is not synced on purpose. You should be SSH'ing into your box to manage your git repositories.
In the Mac application shortcut menu, hover over the box you want to SSH into, and click "Open Shell". You should enter any git commands from your box in the cloud.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With