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?

  • CalcProgrammer1
    link
    fedilink
    English
    18 months ago

    On Linux I usually just keep them in my home directory because I’m lazy. On Windows though I usually do C:\git\ or D:\git\ if I have a second drive.

  • Luna
    link
    fedilink
    English
    7
    edit-2
    8 months ago

    ~/projects for things I made

    ~/git for things other people made

  • r00ty
    link
    fedilink
    38 months ago

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

  • Irdial
    link
    fedilink
    78 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.

    • data1701d (He/Him)OP
      link
      fedilink
      English
      238 months ago

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

      • @[email protected]
        link
        fedilink
        27
        edit-2
        8 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
        
  • @[email protected]
    link
    fedilink
    38 months ago

    Usually ~/devel/

    On my work laptop I have separate subdirs for each project and basically try to mirror the Gitlab group/project structure because some fucktards like to split every project into 20 repos.

  • @[email protected]
    link
    fedilink
    38 months ago

    I use ~/workspace . I think I got this from when I first started using Java years ago. Eclipse created new projects in this directory by default maybe?

  • @[email protected]B
    link
    fedilink
    English
    28 months ago

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

  • Strit
    link
    fedilink
    18 months ago

    ~/git/AUR|dev|whatever/$(git clone) is where mine usually reside.