[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: The move to git commences!

Jeremy Katz wrote:
The move of the various anaconda-related components has begun from
elvis.redhat.com (also known as rhlinux.redhat.com and i18n.redhat.com)
to be hosted under git.fedoraproject.org has begun.
The following is a basic summary of checkout and commit information.
Note that if you think you should have commit access and _don't_, let me
know.  The instructions use "$module" to refer to whatever the module
is.  Moved modules are anaconda, pykickstart, system-config-kickstart,
rhpl, booty, pyblock, firstboot, anaconda-images (not really relevant
anymore), anaconda-help (likewise)

To get a copy (anonymous)
  git clone git://git.fedoraproject.org/hosted/$module
To get a copy as a committer
  git clone git+ssh://git.fedoraproject.org/git/hosted/$module.git

Once you've committed changes locally, you can push them with
  git push

Branches should be mirrored there as well.  To get a local tracking copy
of a branch you'll likely want something like
  git branch --track $branchname ; git checkout $branchname

This line didn't exactly work for me.  The one that worked for me goes something

git-branch --track $YourBranchName origin/$branch ; git checkout $YourBranchName

Also remember that to see the actual branches and not the tags you need to specify
the -r argument
git-branch -r

if you want to see everything you need
git-branch -a

Hope it helps.

Then pulls when on the branch checkout will mirror the upstream branch
and pushes will also go to the branch.

If you notice any problems, let me know.


Anaconda-devel-list mailing list
Anaconda-devel-list redhat com

Joel Andres Granados
Red Hat / Brno, Czech Republic

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]