Search code examples
gitgit-push

Is the result of git push 100% protocol neutral?


After unsuccessfully trying to git push using ssh, I am ready to give up and just use plain filesystem push (fortunately, that linux server has Samba running on it as well).

Before switching git transports, I was wondering: Is the result of git push always the same regardless of the protocol used? Including owner, chmod, etc. ?


Solution

  • Yes it is neutral, but see this for what file info is tracked. To sum it up, users/groups/permissions aren't tracked. What if you cloned the repo to a computer that didn't have that user.