.git broken, restart
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
REPO=${1:-"svr"}
|
||||
# make the repository shared
|
||||
git config core.$REPO group # or whatever other sharing option
|
||||
# fix the setgid bit
|
||||
find . -type d | xargs chmod g+s
|
||||
# repair the permissions
|
||||
chmod -R g+r *
|
||||
Reference in New Issue
Block a user