I'm trying to setup a shared repository for a project I'm working on for work. I'm still fairly new to this as my work never really used any source control before now. We're trying to setup a shared git repository. After the initial commit is made no other user can push any changes. Only the user who made the initial commit is capable of making any changes. Others can pull and clone, but not push.
I'm initializing the shared repository with:
git init --bare project.git
After the initial commit, other users when pushing from netbeans get the error:
REJECTED_OTHER_REASON
Which quite frankly isn't very helpful. Any help would be greatly appreciated!