![]() See 'git -help'.įatal: The remote end hung up unexpectedly I kept getting: git: '/repopath/repo.git' is not a git command. This allowed me to successfully clone and commit, but I could not push to the bare repo on the server. Use the private key you created on the server to clone your repo from (for some reason, the root is the C: drive).Initialized empty Git repository in C:/repopath/repo.git/ Open Git Bash and create a repository anywhere on your PC: $ git -bare init repo.git GITCOREPATH='/cygdrive/c/Program Files (x86)/Git/libexec/git-core' put both keys in the user's CopSSH/home/user/.ssh directory.Īdd the following to the user's CopSSH/home/user/.bashrc file: GITPATH='/cygdrive/c/Program Files (x86)/Git/bin' Create public/private keys using PuTTygen.When creating the CopSSH user, uncheck Password Authentication and check Public Key Authentication so your public/private keys will work.In retrospect, if I had known how time consuming this would be, I might have started out with Mercurial as I read the install on Windows is easier, but I'll have an opinion on that after I work with Git awhile and then try Mercurial.Īfter following Tim Davis' guide and Steve's follow-up, here is what I did: ![]() Plus O'Reilly's Version Control with Git - the Remote Repositories chapter. These other sources helped me figure things out: Git clone using ssh - can't find repository Learn a vcs like I did with rcs and Subversion and The newer msysgit versions might not give youĮxecutable where you choose between the Git There is some duplication here - it works for me, so someone chime in which is the correct place to modify the path. Here's what I added to the bash profile (in CopSsh etc/profile):Įxport PATH="/bin:$syspath:$gitpath:$gitcorepath:$winpath" Gitcorepath='cygdrive/c/Program Files (x86)/Git/libexec/git-core' Gitpath='/cygdrive/c/Program Files (x86)/Git/bin' bashrc (in your CopSsh and Windows home directory): I hope my pain benefits someone else in the future, because this was an arduous process. Like Tim Davis said, this was an arduous and frustrating process, at least for me - I'm not too good with integration of this sort, but I learned alot in the process. With regards to the reference to the Tim Davis page - Setting up a Msysgit Server with copSSH on Windows - I used this to get a Git server running on Windows 7 Home Premium 64.īelow is a postmortem/update of what I learned in addition to his instructions. GitStack is completely free for small teams 1.ġ the basic edition is free for up to 2 users The top of the genuine Git for Windows and is compatible with any GitStack also makes it superĮasy to secure and keep your server up to date. This means that you create a leading edge versioning GitStack is a software that lets you setup your own private Git serverįor Windows. Here is a description from their web site: User and team based repository access managementīrad Kingsley has a nice tutorial for installing and configuring Bonobo Git Server.User friendly web interface for management.Secure and anonymous access to your git repositories.Your IIS and easily manage and connect to your git repositories.īonobo Git Server is a open-source project and you can find the Bonobo Git Server for Windows is a web application you can install on
0 Comments
Leave a Reply. |