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?

  • aleats@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    58 minutes ago

    ~/src/

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

  • Dr. Bluefall@toast.ooo
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    21 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
  • 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

  • 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
    
    • data1701d (He/Him)OP
      link
      fedilink
      English
      arrow-up
      5
      ·
      2 hours ago

      Admittedly, that irks me slightly just because of the shared name with the devices folder in root, but do what works for you.

      • 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
        
  • 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.

  • 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

  • Sam Black@lemm.ee
    link
    fedilink
    English
    arrow-up
    2
    ·
    4 hours 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.