git - How to create a new Patchset in Gerrit? -


i new gerrit , want create new patch when new changes submitted. setup gerrit guide https://review.typo3.org/documentation/install-quick.html

then try create new patch http://gerrit.googlecode.com/svn/documentation/2.0/user-changeid.html , added change-id line @ bottom of commit-message.

but getting new change instead of new patchset.. can me..?

thanks

step 1: install commit-msg hooks gerrit

scp -p -p 29418 localhost:hooks/commit-msg .git/hooks/ 

step 2: create normal commit , push (for patchset1)

for example:

git add server.java git commit -m "server added" git push origin head:refs/for/master 

step 3: after doing changes server.java

finally create new patchset (patchset 2)

git add server.java git commit --amend git push origin head:refs/for/master 

repeat step 3 further patches


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -