svn primer translation to git
robak at FreeBSD.org
Thu Jun 25 20:05:49 UTC 2020
> On 25 Jun 2020, at 21:02, Ed Maste <emaste at freebsd.org> wrote:
> On Thu, 25 Jun 2020 at 09:48, Mitchell Horne <mhorne at freebsd.org> wrote:
>> We should advise users to set pull.rebase in their configuration,
>> either globally in ~/.gitconfig or on the repository-level in
>> .git/config. It seems that newer versions of git will print a warning
>> if neither pull.ff or pull.rebase is set. It's unfortunate that we
>> can't include config files as part of the repository, so this will
>> always need to be done manually.
> I agree it's unfortunate we can't set repository-level defaults that
> come along with the initial clone. We could have a script though that
> users can run to display or adjust the appropriate settings, perhaps.
> Our standard quickstart instructions could be something like
> % git clone foo at cgit-beta.freebsd.org/src.git
> % cd src
> % sh tools/git-repo-init.sh
Why can't we ship the gitconfig file inside of the repository containing the defaults
we'd like to be used?
More information about the freebsd-git