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

From: Goran Mekić <meka_at_tilda.center>
Date: Wed, 2 Sep 2020 19:08:12 +0200
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_at_svn.freebsd.org/base/head /usr/src
git checkout ssh://user_at_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.

If needed for any doc/example/howto, feel free to copy these examples
where suites best FreeBSD project/developers or tell me what to edit.

Regards,
meka

Received on Wed Sep 02 2020 - 15:08:17 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:25 UTC