windows - How to set up / use git as (little more than) a simple backup system -
i'm single developer working on several small, unrelated projects written in c/c++.
i tried using git (mostly because client asked me - think doesn't know dvcs must have heard git fashionable :) ) baffled documentation, , tutorials seemed tailored needs entirely different mine: large projects teams of programmers.
i wanted start using git "backup system on steroids" first, learning new features later need them. thought setup , daily usage easy, after whole day of tutorials i've yet commit single project (and need bottle of maalox , aspirin :) )
to summarize:
- i'm solo programmer (no 1 else touch code).
- i use single windows laptop (no need work multiple pcs).
- no need branches (the projects small).
- i do need remote repository (only emergency measure against hd crashes / laptop theft. have private server can install need).
- i never need retrieve old versions of code (in 2014 did twice, in few minutes, using backups).
- the code well-commented (the commits have simple comments).
- my workflow simple: want open project on own hd, work on until feature added / bug fixed / sleep deprivation, commit changes , move next task.
so, let's have projects foo , baz client1, , bar client2. need know is:
- the best way set system, given requirements.
- what commands issue during daily usage (see point 7)
i've installed git gui (on laptop) , gitlab (on server), i'm amenable change.
thanks in advance,
flavio rizzardi
chapter 2. in less 1 hour have working.
Comments
Post a Comment