svn primer translation to git

Mathieu Arnold mat at freebsd.org
Fri Jun 26 10:45:54 UTC 2020


On Thu, Jun 25, 2020 at 02:10:59PM -0400, Dan Langille wrote:
> > On Jun 25, 2020, at 2:06 PM, Brooks Davis <brooks at freebsd.org> wrote:
> > 
> > There's a time and place for many foot cannons, but there's no need to
> > even mention them in our documentation unless it's completely essential.
> > People can explore the infinite vastness of git options on their own.
> 
> There ^
> 
> Limit the primer to the usual work flow that committer should follow.
> 
> Put unusual workflows to other documentation.
> 
> Show me how to get the ports tree, make a change, check it in.
> 
> Cover common things we used to do, and how to do them now.
> 
> For example svn cp, when moving something in the ports tree
> (say from one category to another).  What do we do with git?

That is something we need to decide.

git does not track copies and moves, it only tries to figure it out
after the fact.

So, we could decide we don't care about history and just copy files
around and change them.

We could try to help git by creating a short term branch where you first
copy the files, commit, then modifiy them, commit, then merge without
fast forward.

Or we could do something else entirely.

-- 
Mathieu Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-git/attachments/20200626/c99f5e88/attachment.sig>


More information about the freebsd-git mailing list