Skip to content

Instantly share code, notes, and snippets.

@jamesgecko
Created May 6, 2021 01:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamesgecko/f212fd8df989aa7a0fcb5e1817e0ac0b to your computer and use it in GitHub Desktop.
Save jamesgecko/f212fd8df989aa7a0fcb5e1817e0ac0b to your computer and use it in GitHub Desktop.
How to share a git repo with multiple users on the same system
# Read this for more info: https://medium.com/@tahteche/how-git-treats-changes-in-file-permissions-f71874ca239d
chmod -R ugo+rw repo-folder
chmod -R a+X repo-folder
cd repo-folder
git config --local core.fileMode false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment