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?

      • mlfh@lemmy.ml
        ·
        edit-2
        2 months ago

        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
        
    • comfy@lemmy.ml
      ·
      2 months ago

      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.

      • mbirth@lemmy.ml
        ·
        2 months ago

        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.

  • Luna@lemdro.id
    ·
    edit-2
    2 months ago

    ~/projects for things I made

    ~/git for things other people made

  • Irdial@lemmy.sdf.org
    ·
    2 months ago

    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.

  • JustEnoughDucks@feddit.nl
    ·
    edit-2
    2 months ago

    ~/workspace/git

    That way I can also keep other stuff in the same "workspace" directory and keep everything else clean

    I have a Code, simulations, ECAD, and FreeCAD folder in the workspace folder where projects or 1-offs are stored and when I want to bring them to git, I copy them over, play around in the project folders again, then copy changes over when I am ready to commit.

    I could better use branching and checking out in git, but large mechanical assemblies work badly on git.

  • r3dw4re [null/void]
    ·
    2 months ago

    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}

  • Dr. Bluefall@toast.ooo
    ·
    edit-2
    2 months ago

    ~/Projects/$TOPIC_OR_LANGUAGE/$PROJECT_NAME

    ie.

    • ~/Projects/Web/passport.ink for a web dev project
    • ~/Projects/Minecraft/synthetic_ascension for a Minecraft mod
    • ~/Projects/C++/journalpp for a C++ library
  • EuCaue@lemmy.mlB
    ·
    2 months ago

    ~/Code for coding/dev stuff and ~/gitclone for things that i random clone for some reason. =D

  • Blaiz0r@lemmy.ml
    ·
    2 months ago

    I used to use ~/devbut for years now I use ~/Workspace becaue Eclipse made me do it

  • muhq@discuss.tchncs.de
    ·
    2 months ago

    ~/code for everything I want to change/look at the source code.

    ~/.local/src for stuff I want to install locally from source.

  • Sam Black@lemm.ee
    ·
    2 months ago

    ~/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.