Plans for git (was: Please check the current beta git conversions)

bob prohaska fbsd at www.zefox.net
Sat Sep 5 04:48:50 UTC 2020


On Wed, Sep 02, 2020 at 07:08:12PM +0200, Goran Meki?? wrote:
> On Wed, Sep 02, 2020 at 09:47:06AM -0700, Steve Kargl wrote:
> > Checking out /usr/src as user at freebsd.org
> >
> >   svn checkout svn+ssh://user@svn.freebsd.org/base/head /usr/src
> git checkout ssh://user@git.freebsd.org/base/head /usr/src
> 
> > Checking out /usr/src without freebsd.org account
> >
> >   svn checkout https://svn.freebsd.org/base/head ${HOME}/freebsd/src
> 
> git checkout https://git.freebsd.org/base/head ${HOME}/freebsd/src
> 
> > Creating diff against updated head.
> >
> >   svn update
> >   svn diff > patch.diff
> 
> git pull
> git diff >patch.diff
> 
> > Adding a new file
> >
> >   svn add /usr/src/libm/msun/src/_s_sinpi.c
> 
> git add /usr/src/libm/msun/src/_s_sinpi.c
> 
> > Committing a change to /usr/src
> >
> >   svn update
> >   svn diff <files-to-commit> | more (everyone does one last check, right?)
> >   svn commit <files-to-commit>
> 
> git pull
> git add -A # add all files, even new ones
>            # alternative would be "git add <files>"
> git diff --cached
> git commit
> 
> 
> I "assumed" that user at git.freebsd.org is valid, but depending on
> configuration of the server, git at git.freebsd.org might be the right one.
> Someone with actual knowledge (and I'm looking at Ed) will fill in the
> right details.
> 

Alas, no. 

bob at www:/usr/src % ping git.freebsd.org
ping: cannot resolve git.freebsd.org: Unknown host

If anybody can offer an amateur's tutorial it would be
most helpful. Simple examples of checking out /usr/src
and /usr/ports, along with updating and reverting, make
a good start. Oh, some sort of cleanup might be required.....
Basically, just enough for testing.

Thanks for reading,

bob prohaska


 




More information about the freebsd-arm mailing list