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?
/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.
/dev/null
I used to use
~/dev
but for years now I use~/Workspace
becaue Eclipse made me do itC:\repos
or~/repos
For a project called “Potato Peeler”, I’ll put it into a structure like this:
~/Projects/Tools/Potato-Peeler/potato-peeler/
Tools/
is just a rough category. Other categories are, for example,Games/
andMusic/
, because I also do gamedev and composing occasionally.Then the capitalized
Potato-Peeler/
folder, that’s for me to drop in all kinds of project-related files, which I don’t want to check into the repo.And the lower-case
potato-peeler/
folder is the repo then. Seeing other people’s structures, maybe I’ll rename that folder torepo/
, and if I have multiple relevant repos for the Project, then make itrepo-something
.I also have a folder like
~/Projects/Tools/zzz/
where I’ll move dormant projects. The “zzz” sorts nicely to the bottom of the list.Personal stuff goes in
~/Projects
Work stuff goes in
~/Work/Code
In ~/src Mostly because I’m too lazy to type “source”.
Personal?
~
My homedir is a HUGE MESS.
Work?
~/src/<site>/<project>/<repo>
i.e. ~/src/github/mirantis/docker (not real I don’t imagine, just an example)
~/src/bitbucket/INTERNALPROJECTCODE/coolrepo
~/Code
for coding/dev stuff and~/gitclone
for things that i random clone for some reason. =D~/Prototypes on pretty much all machines I own, from desktop, laptop, server, tablets, ebook readers, RPis, XR headset, video projector, etc.
~/Documents/projects/<YYYY>-<MM>-<DD>_<name>
~/git/AUR|dev|whatever/$(git clone)
is where mine usually reside.Same, but by language, e.g.
Development/Python
.Thinking of the projects I work on, I don’t understand the value in categorizing by language, rather than theme (
~/Development/Web/
,~/Development/Games/
) or just the project folders right there.Yeah, everyone has to find their own way of organising, I guess. For me, there are too many different little projects that it would get messy throwing them all in one folder. And they’re so varied that I couldn’t think of one single “theme” or topic for most of them. Nothing I would remember a week later anyways.
What if a project uses multiple languages?
Symlink each individual file, obviously.
Me waiting for tagging filesystems to become the standard
~/code/git/<org name>/<project>
Mostly a holdover from when I regularly pulled
svn
/hg
/cvs
repos and needed reminding what tool to use for which project.No idea why I still do it.
Like some other ppl here, I clone everything in a git folder under my home directory.