Personally, to keep my documents like Inkscape files or LibreOffice documents separate from my code, I add a directory under my home directory called Development
. There, I can do git clones to my heart’s content
What do you all do?
${HOME}/repos
~/code/$LANGUAGE/$REPONAME
XDG Documents folder
All over the place…
~/code
for everything I want to change/look at the source code.~/.local/src
for stuff I want to install locally from source.I used to use
~/dev
but for years now I use~/Workspace
becaue Eclipse made me do it~/repos
~/git/AUR|dev|whatever/$(git clone)
is where mine usually reside.~/repo for code I write and ~/src for code I didnt.
~/source
/dev/null
~/dev
For my personal projects I use ~/dev/projects/
For clones I use ~/dev/clones
My audio engineering stuff is at ~/audio/{samples, plugins, projects, templates}
~/gits
Documentation is usually a
doc
folder inside the repo or just aREADME.md
for small projects.Any naming convention is fine as long as it’s meaningful to you. But it’s a good idea to keep your own repos separate from the random ones you clone from the internet.