From: Wolfgang Denk Date: Tue, 30 Oct 2012 23:06:07 +0100 Subject: [U-Boot] Custodian branch base commits In-Reply-To: <5090423C.5070605@wwwdotorg.org> References: <50900FED.6040508@wwwdotorg.org> <20121030185037.C20B22005D3@gemini.denx.de> <5090228A.7090606@wwwdotorg.org> <20121030204745.961FA200605@gemini.denx.de> <5090423C.5070605@wwwdotorg.org> Message-ID: <20121030220607.6A9C3200204@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Stephen Warren, In message <5090423C.5070605@wwwdotorg.org> you wrote: > > >>>> git checkout master > >>>> git reset --hard u-boot/master ... > > Why don't you do just > > git branch -D master > > git checkout -b master u-boot/master > > instead? > > That would work identically. The exact git commands to do this really > aren't the point of this conversation. Maybe not for you. But I was trying to understand what you are doing, and I find your approach difficult to read. A "git reset --hard" is nothign I ever do in the normal course of actions. > > BTW - why are you doing this on the "master" branch? Any other branch > > name appears more appropriate to me for such work? > > Well, the U-Boot wiki tells all custodians to use a branch named master, > and all the custodian repos I've needed to look at follow this convention. You are supposed to _never_ reset or rebase the master branch. > >> u-boot/master is the standard git nomenclature for remote u-boot > >> (assumed to point at git://git.denx.de/u-boot.git) branch master. > > > > standard git nomenclature? Do you happen to have a pointer for me? > > http://git-scm.com/book/ch3-5.html > > First sentence of the second paragraph in the body text. Ummm... this does not exactly mention that it is considered standard that "u-boot" refers to git://git.denx.de/u-boot.git . Please keep in mind that others might use different names - your original posting did not explain your assumptions. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Horses just naturally have mohawk haircuts.