Git svn configure local reposity -
I have a svn local repository and my goal is to convert it to git.
I followed this tutorial for the last command (part subversion):
$ git add remotely original $ git push original - already $ git For the push origin - Tates already up to date
I need some advice on the last things:
I have a master branch for a user (administrator) Must be blocked. I need to make a branch for God, I mean, the representative clones this representative and receives the branch master and all the deities, he can push only and his God can branch.
For now, when I clone only the master branch and even the (bare problem) can not be pressurized.
This GIT representative should be accessible to many Gods, they can and can merge their branch and administrator on the master.
Other thanks for using external software such as gitolite , you can use server side hook
In your case, you can either use the pre-acquire
or update
hook.
The first script running pre-retrieve
when handling a push from the client. It takes a list of references that are being pushed from stdin; If it comes out of zero, none of them is accepted.
Update
is similar to the script pre-receipt script, except that it is run once for each branch, in which attempt to update the Puser Has been doing. If the pushing is trying to push in many branches, the pre-received only gets run once, while the update goes to every branch every time, so that they are moving forward. Rather than reading from Stdin, this script takes three arguments: the name of the reference (SHARE), SHA-1, which points back to the reference Push, and the user is trying to push SHA-1 If the update script exits from zero, then only this reference is rejected; Other references can still be updated.
I suggest you read more and, on the manual page,
Comments
Post a Comment