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:

  1. i'm solo programmer (no 1 else touch code).
  2. i use single windows laptop (no need work multiple pcs).
  3. no need branches (the projects small).
  4. i do need remote repository (only emergency measure against hd crashes / laptop theft. have private server can install need).
  5. i never need retrieve old versions of code (in 2014 did twice, in few minutes, using backups).
  6. the code well-commented (the commits have simple comments).
  7. 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

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -