DEV Community

Discussion on: What do you call your folder where you keep your code?

Collapse
 
cmanique profile image
Carlos Manique Silva • Edited

I use variants of ~/_git/repo_domain/repo_group/repo_name depending on the hosting.
Allows me to quickly browse stuff that is either local, github, gitlab, etc...

Anything related to software tools I keep in ~/work/tools, organised in concept, vendor, tool, version (ie: ide/jetbrains/intellij/20201).

Project related stuff like documents, assets I keep in variants of ~/work/projects/customer_name/initiative/project

Many people place code together with projects, but having separate folders is useful to avoid long paths, and I get a clear ideia of what's transient and versioned or not.

Collapse
 
ashkanmohammadi profile image
Amohammadi2

Nice 👍