how to use tortoise git without a server (local single user)
I'm looking for a simple tutorial for how to use tortoisegit without any server? I've tried google but, although a lot of people mention you can use tortoisegit开发者_StackOverflow without a server, no one explains how to do it so any help is greatly appreciated!
Simple:
- Install Git (msysgit for Windows)
- Install TortoiseGit and reboot
- go into any directory you want
git init myFirstRepo cd myFirstRepo echo test> myFirstFile
From here, open a Windows explorer and you will the usual icons from files modified, to be added, to be committed, and so on.
It's very much the same as with a server, except that all you are then doing is committing your changes to your local repository - there would be no pushing to a remote source.
I would start with http://www.kernel.org/pub/software/scm/git/docs/gittutorial.html before going to TortoiseGit. This tutorial explains roughly what git does (not with too much detail, but enough). With this knowledge, you will find it easier to get started with the GUI.
精彩评论