msysgit

Using GIT with GIT GUI - Master and Branching

I am trying out GIT, and using the GIT GUI (from msysgit) with it. I am trying to make a new branch, but somehow it keeps taking over the master branch. The master branch still appears, but not as the actual master. As a result, I also can't merge my new branch into the master, but it requests me to do the opposite (master into new bran...

git svn rebase problem on windows

Hello, I have a problem with git. Basically, here is what I have. I access a svn repository through git. Until now, on python files, everything worked fine. But lately I also added some pyd, dll and lib files on the repository. THe first update went well. But then, these files have been modified and since then I can't update. These fil...

git is not detecting changes in some files

I have managed to get my index in state where some files aren't tracked as expected. As an example I have size.h and test.h unmodified in the working directory: $ git-ls-files -st size.h test.h H 100644 de2c741b07d86f92bdd660626848072cb2bf510f 0 size.h H 100644 8bb24bc7483ffcfc0fc1a3761dc63e86a1b3e003 0 test.h $ git status # On...

git init error: unable to create directory for .git/HEAD [inside htdocs/]

Hello, when I try to create a repo inside htdocs folder of my Apache installation (using Zend Server CE) git gives me the error: $ git init error: unable to create directory for e:/WORK/Zend/Apache2/htdocs/gittest2/.git/HEAD It works well outside htdocs/, but i would like to have repos inside this dir in order to work on them ...

How do you copy and paste into Git Bash

I'm using msysgit running on Windows XP. Tried Ctrl+V, Right click, Middle click, google... no luck. ...

How to customize which terminal is used by the "Git Bash Here" command of msysgit's shell extension?

The title says it all. The default cmd.exe is horrible, I'd like to use, say, the "Console" shell. ...

How do i clone svn repo on specific port.

I'm using msysgit on windows on old repo i had no problems with this command git svn clone -s --username=XXX https://URL but repo has moved and now the url is like that: svn://URL:port how can i set this port number ? using git svn clone svn://URL:port results with 'mkdir ... not a directory' error, and without port it can't find ...

.gitignore does not understand my folder wildcard on windows

I'm encountering a weird issue with .gitignore on Windows. I want git to ignore all .exe files, except those in the Dependencies folder (and all subfolders). So I have: .gitignore: *.exe !/Dependencies/**/*.exe This, unfortunately, does not work. Meanwhile, this does: *.exe !/Dependencies/folder/subfolder/*.exe So I'm won...

Git clone using ssh - can't find repository

I'm trying to setup a Git server on Windows 7, using CopSsh, PuTTY and msysgit. I'm having problems cloning a repository using ssh. If I use a regular directory path, it works: $ git clone ~/vc/git/depot/test.git/ /c/dev/es/app Initialized empty Git repository in c:/dev/es/app/.git/ warning: You appear to have cloned an empty reposito...

msysgit - sh.exe - fork: Permission denied - Vista 64 bit

I installed msysgit on other Windows machines with no problems. On this Vista 64 bit Ultimate box, I installed the 3 most recent versions of msysgit. On all three installs, when I do a "git bash here", I get exactly this on the command window: sh.exe": fork: Permission denied sh.exe"-3.1$ The git command doesn't work. I get the sam...

How do I enable msysgit colored output when using console2

I'm having a hard time enabling git colored output on windows when using console2. To trick git I've already SET TERM = 'cygwin'. This enabled the colors from a standard cmd.exe prompt but not in console2. I've verified that console2 can see the env var as well. Anyone know how to get this working? ...

How do I remove msysgit's right click menu options?

This isn't the best programming question but lets face it, the server fault guys aren't well versed in git, so I think its more towards this audience. Do I have to write a script to uninstall them? How do I get them to go away, I want to switch to tortoise git, or portablegit in my shell, but I'm left with these annoying menu options. ...

How do I customize the format of git rebase --interactive commit messages?

Hi everyone, I use git for my local work (and love it ever so much), and I follow a workflow similar to the one described in this article. So basically, when starting on a new feature, I create a branch for it, go through the usual hack then commit cycle, and when I think I'm done with it, I squash it into a single commit using git reba...

Does Git support more than 32 chars in filename in windows?

We have a problem in cloning a repository created in unix in to a Windows box. Git fails while checking out a lengthy file that has more than 32 characters in windows. The file name is given below. BaseFCS_x0020_OnLine_x0020_Identicheck_x0020_verification_x0020_serviceConsumer.java* Is there a way to fix this issue in Git? ...

How do I force git to use LF instead of CR+LF under windows?

I want to force git to checkout files under Windows using just LF not CR+LF. I checked the two configuration options but I was not able to find the right combination of settings. I want it to convert all files to LF and keep the LF on the files. Remark: I used autocrlf = input but this just repairs the files when you commit them. I wan...

CopSSH + Git: path issue.

Hello. I'm confused. I've installed copSSH and linked it with msysgit installation (by adding path to it). And now whenever I use copSSH tools (like ls, cd) I should use the absolute paths in form like '/home', /cygdrive/d/copSSH/home. But when I used git I should use absolute paths in a different (another) form. like '/copSSH/home', ...

Upgrade to msysgit 1.7.0.2 ?

I know this question is probably stoopid. But I just don't want to cause any hickups with my work system (Win7). How do I upgrade the software? Do I just replace the existing version or do I need to remove the one I'm having and then install the new version? I tried to find some info on the net but did not find any info on upgrading. ...

msysgit bash shell- how to troubleshoot "cannot find command"

I need help getting git extensions to run with msysgit. I have had bad luck with extensions git-tfs and git-fetchall, in both cases it is the same problem. The addon will require a file to be placed where git can find it (git-tfs.exe and git-fetchall.sh). I understand this to mean the files need to be in a directory that is in the 'PA...

Unset core.editor in Msysgit

I set my editor per an SO entry: http://stackoverflow.com/questions/780425/how-do-i-setup-diffmerge-with-msysgit-gitk. I'm wondering how to undo this because I want to switch back to the default editing program. ...

Moving Git Projects between computers

I have a project that i use at two places(i dont use git server). When i copy the project at second place i have to check-in all the files(but they have not changed), git shows me for example @@ -1,8 +1,8 @@ -#Sat Mar 06 19:39:27 CET 2010 -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -...