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?
I have $HOME/src for projects that are executables and $HOME/lib for ones that are libraries/dependancies/etc
~/code/$LANGUAGE/$REPONAME
On Linux I usually just keep them in my home directory because I’m lazy. On Windows though I usually do C:\git\ or D:\git\ if I have a second drive.
~/projects
for things I made~/git
for things other people madeI use ~/w for “Work” and less typing
/mnt/shared/Development or E:\Development depending on which operating system is running.
Not in home mainly because I use the same directory in windows and Linux.
Like others, I have a folder in my home directory called “Code.” Most operating systems encourage you to organize digital files by category (documents, photos, music, videos). Anything that doesn’t fit into those categories gets its own new directory. This is especially important for me, as all my folders except Code are synced to NextCloud.
~/dev/
, with project/org subdirectoriesAdmittedly, that irks me slightly just because of the shared name with the devices folder in root, but do what works for you.
I actually have my whole home directory like that for that reason haha
bin - executables dev - development, git projects doc - documents etc - symlinks to all the local user configs med - pictures, music, videos mnt - usb/sd mountpoints nfs - nfs mountpoints smb - smb mountpoints src - external source code tmp - desktop
This is pure insanity. Chaos.
Fascinating idea!
Same. Short and sweet.
Usually ~/devel/
On my work laptop I have separate subdirs for each project and basically try to mirror the Gitlab group/project structure because some fucktards like to split every project into 20 repos.
I use
~/workspace
. I think I got this from when I first started using Java years ago. Eclipse created new projects in this directory by default maybe?I do this too, maybe this explains why
~/Code
for coding/dev stuff and~/gitclone
for things that i random clone for some reason. =DAll over the place…
~/git/AUR|dev|whatever/$(git clone)
is where mine usually reside.I used to use
~/dev
but for years now I use~/Workspace
becaue Eclipse made me do it${HOME}/repos