HEADS UP: svn->git transition
Denys Vlasenko
vda.linux at googlemail.com
Fri May 1 16:56:30 UTC 2009
On Friday 01 May 2009 18:17, Carmelo Amoroso wrote:
> Bernhard Reutner-Fischer wrote:
> > On Wed, Apr 29, 2009 at 02:49:39PM +0100, Bernd Schmidt wrote:
> >> Bernhard Reutner-Fischer wrote:
> >>
> >>> We will be switching to git (instead of svn) for our repositories.
> >> Any particular reason?
> >
> > I've asked a couple of folks and they too found git easier to use.
> > Benefits in my POV include:
> > - bisect. Makes it easy to track down a regression
> > - easier merging between a couple of branches
> > - convenient git-am to apply patches from email
> > etc.
> >
> >> As far as I know, git works on local repositories. How will we get
> >> things committed into a mainline repository?
> >
> > git push -v --thin git+ssh://$USERNAME@uclibc.org/srv/git/uClibc.git
> > Paths will differ a bit, i will update the developer instructions on the
> > webpage accordingly.
> >
>
> Hi Berdhard,
> we had a surprisingly long threads discussing on git generally,
> but I have not yet understood ig the git is up, and if so, what
> is the url to clone it... likely I've missed some emails.
Busybox svn has been migrated to git.
I check out fresh tree with:
git clone git+ssh://vda@busybox.net/var/lib/git/busybox.git
Then in that tree I can do:
git pull -- analog of "svn update"
git add new_file -- IIUC this is "svn add" analog
git commit -a -- create a local change which includes all files
modified since last commit.
git push -- analog of "svn commit" (but you need to do
"git commit" before this).
I'm sure there are many more things possible, but I use
this minimum for now.
I did not check uclibc git yet, guess it is migrated too.
--
vda
More information about the uClibc
mailing list