getting rejected non fast forward issue in egit
<p>I have done checkout from branch 2.0 . </p>

<p>Now I made changes to one of the file.<br>
I want to commit it to branch i.e 2.0 branch,<br>
So I right click on file , select team->commit option
I ask me to select branch . </p>

<p>So I selected 2.0 and repository url.
When I click , <code>commit &amp; push</code> , on next box ,it is giving me confirmation box with expected push result  as 2.0 [rejected-non-fast-forward].</p>

<p>Is it because of I am in develop group not in master ?<br>
Also I able to changes on my local commit, but it is not reflected in master copy so is their any way to commit it to master copy.</p>

<p>Attached screenshot of confirm box.</p>

<p><a href="https://i.stack.imgur.com/yTNYa.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/yTNYa.png" alt="enter image description here"></a></p>