svn primer translation to git

Ed Maste emaste at freebsd.org
Thu Jun 25 20:02:31 UTC 2020


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


More information about the freebsd-git mailing list