[Kmymoney-devel] Git workflow after backporting to origin/4.6

Alvaro Soliverez asoliverez at kde.org
Sat Jun 30 13:04:05 UTC 2012


Hello Allan,
Did you intend to push that commit to 4.6 branch now? Because that
message is saying you have a local change that you haven't pushed yet.

Also, once you're done, you should checkout the master branch and work as usual.

git checkout master
git pull -r
...

Still, it isn't clear where you are trying to go at this point.

Regards,
Alvaro

On Sat, Jun 30, 2012 at 9:48 AM, Allan <agander93 at gmail.com> wrote:
> I have completed the local backporting to origin/4.6, and git status shows
> # On branch 4.6
> # Your branch is ahead of 'origin/4.6' by 1 commit.
>
> Normally, I would see this type of message following the merge and push, and
> I would then do
> git fetch origin && git reset --hard origin/master
> but suspect I don't do that in this case.  Am I correct in this?  If so
> exactly what do I need to do to avoid a screw up?
>
> I have done -
> git add
> git commit
> git checkout master
> git pull -r
>
> and would normally then do -
> git rebase master
> ssh-add ~/.ssh/id_rsa && git push kde:kmymoney
> git fetch origin && git reset --hard origin/master
>
> Just need a pointer, please.
>
> Allan
> _______________________________________________
> KMyMoney-devel mailing list
> KMyMoney-devel at kde.org
> https://mail.kde.org/mailman/listinfo/kmymoney-devel


More information about the KMyMoney-devel mailing list