| Electronics > Projects, Designs, and Technical Stuff |
| Keeping track of source code |
| (1/6) > >> |
| NivagSwerdna:
Just wondering how people control their source code... I have many small projects which end up getting distributed across many desktops/laptops over time... For large projects I use a GIT repository but for the many small utilities or one-offs I have historically not created a repository for them (over the years this adds up to approx 100 projects in various places)... Any hints and tips? Maybe a generic GIT Repo containing many small projects? (And of course many of these projects pre-date GIT) |
| tsman:
I forced myself to always use a version control system for everything and now it is second nature for me. I migrated all the other version control systems (CVS, P4, Mercurial etc...) repos into git but I kept the old repos as sometimes operations don't have a git equivalent. Small projects just get shoved into a general repo and get moved out if they become important enough to warrant a separate repo. |
| TomS_:
--- Quote from: NivagSwerdna on January 25, 2019, 12:36:23 pm ---Maybe a generic GIT Repo containing many small projects? --- End quote --- This. Ive seen something similar done in one way or another through various companies I have worked at. Get yourself a gitlab account, or perhaps github now that they offer free private repos, and store it all there so you can easily push/pull changes between different devices you work on. Saves the hassle of running your own git server. |
| TiN:
Mercurial repository for every project (running own server). Saves the trouble when i need on another machine "just that little 20 line code tool I wrote on sunday"... |
| TomS_:
I have both a GitHub and GitLab account - originally GitHub but then realised they didnt do private repos for free, almost bought a subscription but then found GitLab. I have all of my personal projects stored with GitLab. Removes the hassle of running your own server (unless that is your thing), and easy enough to access from anywhere you have an internet connection. If working from multiple devices, just commit and push before moving to the next where you can simply pull down and continue working. Personally, I use SSH with a shared key to access my repos. GitHub now offers free private repos, too. |
| Navigation |
| Message Index |
| Next page |