[Maxima] having trouble w/ git & rpm for 5.27 release
l_butler at users.sourceforge.net
Tue Apr 3 11:44:14 CDT 2012
Robert Dodier <robert.dodier at gmail.com> writes:
> I'm trying to pull together a 5.27 release and I ran into some problems.
> I can't devote much time to this for the next few weeks so your help
> will get us that much closer to a release. In fact if someone can take
> over the git & rpm stuff entirely, that would be awesome.
> (1) I created a branch-5_27 in git via git branch.
> I see that git checkout -b is recommended in various places.
> Is the effect of git branch any different from git checkout -b ?
git branch lets you manipulate branches without changing your working
copy. git checkout -b creates and then checks out a new branch.
> (1a) The only commit on branch-5_27 is to change the version
> number in configure.in to 5.27.0. If it makes things simpler,
> I'd be happy to nuke the branch and re-do the commit, it's no
> big deal.
> (2) I tagged 5.27.0 via git tag -a 5.27.0 and I can git checkout
> that tag. However, git tells me I'm in a "detached head" state.
> How did that happen? and what, if anything, should I do about it?
git checkout branch-5_27
will let you do the work you need.
git lets you check out tags, but there is no branch associated with the
tag, so it leaves you in a 'detached head' state (i.e. an anonymous
Leo Butler <l_butler at users.sourceforge.net>
SDF Public Access UNIX System - http://sdf.lonestar.org
More information about the Maxima