cannot git clone into /usr/ports when separate filesystem

Jose Quinteiro freebsd at quinteiro.org
Tue Apr 6 15:33:32 UTC 2021


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


More information about the freebsd-ports mailing list