Local repository with Git
问题 I would like to use Git in my local computer such that, H:\Projects\projectname will be my server-like repository and I would like work by cloning this repo to C:\Users\xxx\AptanaProjects\projectname How can I do that ? Thanks 回答1: First you need to create a bare repository on H:. With git you usually name your bare repository with .git, so projectname.git in this case: h: cd \Projects\ mkdir projectname.git cd projectname.git git init --bare When this is done you change to c to create your