push - Git verify changes brefore they committed to online repository? -


i started using git vcs , created repository on bitbucket when pushed project committed couple changes , pushed them remote repository.

then wanted test how collaboration goes , created user on bitbucket , added him main repository read/write access repository.

then renamed user name , email in git bash , cloned project new user credentials. when added commit , pushed put in online repository.

when tried give read access did not allow push @ all.

i thought can see changes other users make , can either approve or reject them main account (account owns repository) before added master repository, how can set up?

edit: super admin , have 3 random developers working me developing project. how can check code created before allowing written on repository on bitbucket? if don't code can reject , make them come better one. – john smith 24 secs ago

so, if give read access of course can pull, not push.

in scenario workflow be...

user b work , commits locally
user b contacts user (email whatever) , notifies has changes
user pulls user b , verifies correctness
user pushes user b's changes bitbucket.

(user must have set user b remote)


Comments

Popular posts from this blog

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c# - Copy ObservableCollection to another ObservableCollection -

All overlapping substrings matching a java regex -