|
|
| Re: push new local branch to remote repo [message #783243 is a reply to message #783223] |
Wed, 25 January 2012 05:45   |
 |
Stefan Nöbauer Messages: 20 Registered: January 2012 |
Junior Member |
|
|
Quote:or directly push to refs/heads/Feature_1 (this requires push permission on refs/heads/*).
This is not creating the Branch on the remote repo. Should it? I can not find any? So where did that push to?
Quote:For single changes you don't need to explicitly create server side branches as they
are kept on a virtual branch managed by Gerrit until the change gets accepted in
the code review process.
Which refs configuration do i have to use to push to the Gerrit Review? As I saw an the Exercise 2: Develop a feature from the Userguide they pushed the feature branch into the master. Isn`t that already a merge?
I do have one more question about the usability of EGit.
Is there a better way to configure the Push refs?
- Scenario 1
I switched to Branch develop. After making changes, submitting locally, I would like to push to the remote. To do that I have to change my Push Configuration to HEAD:refs/for/develop.
- Scenario 2
I swiched to a feature branch Feature_1. Again made changes, submitted locally. Now I would like to push to the remote feature branch (I already created that branch). To do so I have again to change the Push Configuration to HEAD:refs/for/Feature_1.
Isn`t there a way to save this kind of configurations? Or am I totally misunderstanding the usage of EGit?
[Updated on: Wed, 25 January 2012 14:20] Report message to a moderator
|
|
|
|
|
| Re: push new local branch to remote repo [message #788964 is a reply to message #784987] |
Thu, 02 February 2012 07:49  |
Matthias Sohn Messages: 395 Registered: July 2009 |
Senior Member |
|
|
|
This is a local configuration on the receiving end. I think you can't configure that on the server side. AFAIK the reason why git doesn't transport configurations is to protect you against remote git repositories run by some bad guys which might try to compromise your system.
|
|
|
Powered by
FUDForum. Page generated in 0.02222 seconds