Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is git suitable for one developer without server

I am a single developer without another computer to backup my projects on. I'm looking into source controls and I came across git but all the setup tutorials are targeted to an external server. I used to use SourceGear Vault, but seeing that git is getting alot of attention, I might as well familiarize myself with it. I do not always have internet access.

Is Git suitable for me? Can I be pointed in the right direction to set it up?

  1. Visual Studio 2008.
  2. Windows 7.
like image 697
Shawn Mclean Avatar asked Mar 08 '10 07:03

Shawn Mclean


People also ask

Can you use git without a server?

Git will work happily without a central server, although many teams find it convenient to have a central repository. If by "server", you mean "install server software", git will also work (central repository or not) without any special software, through ssh or on the file system.

Can I use git alone?

Git can be leveraged as a powerful tool for solo developers, even though it's primarily geared towards team-based workflows. Adopting a branch-heavy workflow allow you to keep your code separate from the master branch. Committing often allows you to track and rollback problematic changes.

Does git use a server?

Distributed Version Control System: Git has a remote repository which is stored in a server and a local repository which is stored in the computer of each developer.


1 Answers

There are free private secure Git repositories out there. I wrote a tutorial on getting this set up on Windows with Project Locker. See Windows Git Tutorial: Cygwin, SSH and Projectlocker.

DVCSs (including Git, Mercurial, etc) are absolutely suitable for use by even one developer as they make it easy to keep multiple backup repositories, which you should in the case of absolute disaster.

It's also worth mentioning Joel's Hg Init: a Mercurial tutorial if you want to go that route.

like image 118
cletus Avatar answered Sep 27 '22 22:09

cletus