

The TL, DR version of sharing with No License, is that technically speaking you are not explicitly permitting others to use your code in any way, just allowing them to look, a license is a formal way to give permissions to others to copy, modify, or use your code.
You don’t need an extra file for the license, you can embed it on a section at the top of your file, as you did with the description, just add a # License
section at the very top, if you want the most permissive one you can just use MIT, just need to replace the year of publication of the code, and you can use a pseudonym/username like ‘hereforawhile@lemmy.ml’ if you don’t want to use something like email, username on another site or real name, that can be used to identify you, if that’s a concern
You could use aliases on your
.bashrc
for git (and a bare repo), that would let you manage your$HOME
and/etc
directly with git without using symlinks, only downside is having them separated in two aliases and two repos.It is also recommended that you run:
<alias> config --local status.showUntrackedFiles no
in the terminal for both the
dotfiles
andetcfiles
aliases (you can pick the aliases and git-dir names you want)The aliases help you have a custom named folder instead of
.git
located in a custom path, and you can manage them without symlinks as you use git directly on the file’s original location, this would solve your issue of other solutions that depend on symlinksNote: you could technically have the root directory
--work-tree=/
as a work tree to use only one command, but It is not recommended to give git the possibility to rewrite any file on the entire file system.Some reference links:
Text
Video