Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Apr 2021 08:33:27 -0700
From:      Jose Quinteiro <freebsd@quinteiro.org>
To:        freebsd-ports@freebsd.org
Subject:   Re: cannot git clone into /usr/ports when separate filesystem
Message-ID:  <638e4886-2d38-23df-c29a-923247d7b5fc@quinteiro.org>
In-Reply-To: <20210406152853.11f43bdc@bsd64.grem.de>
References:  <c0e43b7-20a4-1ba1-c7cf-3a2f95f9bd3@xs4all.nl> <202104061312.136DCggM012531@nuc.oldach.net> <20210406152853.11f43bdc@bsd64.grem.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On 4/6/21 6:28 AM, Michael Gmelin wrote:
> Example:
> 
>   git config core.excludesFile=$HOME/.gitexcludes
>   echo .sujournal >>$HOME/.gitexcludes
> 
> In case you don't want to override the excludesFile setting, alter one
> of the config files in the default global location
> $XDG_CONFIG_HOME/git/ignore[0].
> 
The default name for these files is .gitignore. A file with that name in
your home directory will be honored in all git repositories with no
further configuration.

A file called .gitignore in the current directory will add and/or
override patterns to/in the global .gitignore in your home directory. See

https://git-scm.com/docs/gitignore

Thanks,
Jose



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?638e4886-2d38-23df-c29a-923247d7b5fc>