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?

  • Dr. Bluefall@toast.ooo
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    11 minutes 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
  • aleats@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    48 minutes ago

    ~/src/

    Simple, effective, doesn’t make my home folder any more of a mess than I already left it as.

  • Luna@lemdro.id
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    3 hours ago

    ~/projects for things I made

    ~/git for things other people made

      • mlfh@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        1 hour 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
        
  • Mike Wooskey@lemmy.thewooskeys.com
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    3 hours ago

    ~/git/vendor/<gitUser>/<repo>

    and

    ~/git/<myName>/<forge>/<user>/<repo>

    Examples:

    ~/git/vendor/EnigmaCurry/d.rymcg.tech
    ~/git/mike/forgejo/mikew/myproject
    ~/git/mike/github/johndoe/otherProject
    
  • Irdial@lemmy.sdf.org
    link
    fedilink
    arrow-up
    4
    ·
    3 hours 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.

  • I tend to follow this structure:

    Projects
    ├── personal
    │   └── project-name
    │       ├── code
    │       ├── designs
    │       └── wiki
    └── work
        └── project-name
            ├── code
            ├── designs
            └── wiki
    
  • EuCaue@lemmy.mlB
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 hours ago

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