Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1CF3C18733 for ; Fri, 7 Aug 2015 10:11:54 +0000 (UTC) Received: (qmail 3566 invoked by uid 500); 7 Aug 2015 10:11:53 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 3509 invoked by uid 500); 7 Aug 2015 10:11:53 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 3496 invoked by uid 99); 7 Aug 2015 10:11:53 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Aug 2015 10:11:53 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 0AD68C0374 for ; Fri, 7 Aug 2015 10:11:53 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.9 X-Spam-Level: ** X-Spam-Status: No, score=2.9 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id kvcBJZw6PkAr for ; Fri, 7 Aug 2015 10:11:42 +0000 (UTC) Received: from mail-wi0-f173.google.com (mail-wi0-f173.google.com [209.85.212.173]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id A2DBE20F17 for ; Fri, 7 Aug 2015 10:11:41 +0000 (UTC) Received: by wijp15 with SMTP id p15so54296204wij.0 for ; Fri, 07 Aug 2015 03:11:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=dskgM4d35x4K0IpGKXeg2doeKPfoOTPbynhwa3tzR5s=; b=bFIahQFL6dx56OHwbRsAqzN0ZxdRLSEp70pcrsPAoFKwa3AzNAor8TarSIkhlWCs7g V0GOneFImQyFFjQRiCcJ1wRcEirDwwCF3c/ThA0rbA6DUSluarF72E7qKpH6VpsGnV78 BEaUEaKJUzJrJA4hASq4QdCYtzYS/hG7zPT6cCfhzgJNrnyvmnuRZnxnDBKcJyW9/Zwq nE4xNBJ0bmxymMPBqKIHj3U8MUfK2tM/akrQFauK3c5rYay8FfQCHN80TLSkS1Ru2zpU eqCiEon0xrSVe3lyZlho3Y8dfrv0ifIQah8NwaDbUvyu4s4l3uxvOTFWNtHZkuiAMwxh mzcA== MIME-Version: 1.0 X-Received: by 10.180.99.39 with SMTP id en7mr5266546wib.49.1438942301314; Fri, 07 Aug 2015 03:11:41 -0700 (PDT) Received: by 10.28.52.138 with HTTP; Fri, 7 Aug 2015 03:11:41 -0700 (PDT) In-Reply-To: References: Date: Fri, 7 Aug 2015 07:11:41 -0300 Message-ID: Subject: Re: Off topic about fork on git hub and pull requests From: =?UTF-8?Q?Rafael_Weing=C3=A4rtner?= To: "dev@cloudstack.apache.org" Content-Type: multipart/alternative; boundary=f46d04182808b8e4a0051cb5dccb --f46d04182808b8e4a0051cb5dccb Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Many thanks mike that worked out. On Fri, Aug 7, 2015 at 1:17 AM, Mike Tutkowski wrote: > If the end goal is to just have the master branch on your fork equal to t= he > master branch on origin, how's about fetching master on origin to your > local system, then switching to your local master branch and executing "g= it > reset --hard origin/master" (assuming you don't have any work in > progress...if you do, stash it first) and then executing "git push fork> master --force" and see if that does the trick? > > On Thu, Aug 6, 2015 at 5:46 PM, Rafael Weing=C3=A4rtner < > rafaelweingartner@gmail.com> wrote: > > > Hi guys, > > I know this might not be the right place to post it, but I bet that you > > have the answer at the tip of your tongue. > > > > I have created a fork from https://github.com/apache/cloudstack, on tha= t > > fork I have made some changes and created a pull request. The pull > request > > was already accepted and merged into origin ( > > https://github.com/apache/cloudstack), master branch. > > > > Today I noticed that my fork was a few commits behind the origin branch= , > so > > I changed the remote repository to https://github.com/apache/cloudstack= , > > fetched the commits and then pushed to my fork. > > > > The problem is the following, in my fork it is appearing as 4 commits > ahead > > of the origin in master branch, 2 commits that were already merged into > the > > origin, and 2 commits that represent the push I did to send the new > commits > > from origin to my fork. > > > > Now, If I try to create a new pull request, those commits are going to = be > > added into the pull request and I did not want to do that. Is there a w= ay > > to work around that? > > > > -- > > Rafael Weing=C3=A4rtner > > > > > > -- > *Mike Tutkowski* > *Senior CloudStack Developer, SolidFire Inc.* > e: mike.tutkowski@solidfire.com > o: 303.746.7302 > Advancing the way the world uses the cloud > *=E2=84=A2* > --=20 Rafael Weing=C3=A4rtner --f46d04182808b8e4a0051cb5dccb--