MSysGit and ssh config. missing

What is probably missing is the user environment variable HOME. If you launch your DOS session from the git-cmd.bat script packaged with msysgit, it should be defined, and you should see %HOME%\.ssh\id_rsa(.pub) But from any other DOS windows, HOME isn’t defined by default (HOMEPATH or USERPROFILE are). See also “Fix msysGit Portable $HOME location” as … Read more

List of all commands that cause git gc –auto

builtin/merge.c: const char *argv_gc_auto[] = { “gc”, “–auto”, NULL }; builtin/receive-pack.c: “gc”, “–auto”, “–quiet”, NULL, git-am.sh: git gc –auto git-rebase–interactive.sh: git gc –auto && git-svn.perl: command_noisy(‘gc’, ‘–auto’); From git grep — –auto on git.git, those results looked interesting. The notable one is builtin/merge.c meaning that the ever so common git pull should trigger a git … Read more

MSysGit vs. Git for Windows

Are they not the same thing? On: http://msysgit.github.com/ The title is Git for Windows, the application is msysgit. Even in the event they are not, I expect the only differences will be in the method of compilation (i.e. compiler used and any options set) and any extraneous packaging (such as having a bash emulating shell … Read more

Change the location of the ~ directory in a Windows install of Git Bash

I don’t understand, why you don’t want to set the $HOME environment variable since that solves exactly what you’re asking for. cd ~ doesn’t mean change to the root directory, but change to the user’s home directory, which is set by the $HOME environment variable. Quick’n’dirty solution Edit C:\Program Files (x86)\Git\etc\profile and set $HOME variable … Read more

Clone works, remote push doesn’t. Remote repository over copssh

stupid fix (this changed /SSH/home/rvc/.gitconfig): rvc@RVC-DESKTOP /c/code/myapp (master) $ git config –global remote.origin.receivepack “git receive-pack” rvc@RVC-DESKTOP /c/code/myapp (master) $ git push Counting objects: 3, done. Delta compression using up to 4 threads. Compressing objects: 100% (2/2), done. Writing objects: 100% (2/2), 246 bytes, done. Total 2 (delta 0), reused 0 (delta 0) To ssh://[email protected]:5858/SSH/home/rvc/myapp.git 680f32e..2da0df1 … Read more