Questions tagged [msysgit]

msysGit was formerly the development environment to compile Git for Windows 1.0. It was never the actual Git for Windows package, and it is not current. Do not use this tag for general Git questions, use the git tag. Do not use this tag for Git for Windows specific questions, use the git-for-windows tag.

is a powerful distributed software version control tool. Visit the Git website for more information on Git.

is Git for Windows, the actual Git command line that has been ported to Windows.

MSysGit was formerly the development environment used to build Git for Windows. It was never the actual Git for Windows package, and it is not current. The current development environment for Git for Windows is called Git SDK.

558 questions
1505
votes
20 answers

Ignoring directories in Git repositories on Windows

How can I ignore directories or folders in Git using msysgit on Windows?
sf.
  • 24,512
  • 13
  • 53
  • 58
864
votes
8 answers

How to change line-ending settings

Is there a file or menu that will let me change the settings on how to deal with line endings? I read there are 3 options: Checkout Windows-style, commit Unix-style Git will convert LF to CRLF when checking out text files. When committing text…
qwertymk
  • 34,200
  • 28
  • 121
  • 184
724
votes
36 answers

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.
Trav L
  • 14,732
  • 6
  • 30
  • 39
627
votes
34 answers

Unable to resolve "unable to get local issuer certificate" using git on Windows with self-signed certificate

I am using Git on Windows. I installed the msysGit package. My test repository has a self signed certificate at the server. I can access and use the repository using HTTP without problems. Moving to HTTPS gives the error: SSL Certificate problem:…
RichardHowells
  • 7,826
  • 3
  • 24
  • 24
531
votes
3 answers

How do I exit the results of 'git diff' in Git Bash on windows?

I'm using Git Bash on Windows 7. When I run git diff, I see this: However, I'm unable to get back to a regular prompt. Pressing Ctrl+C seems to work, but as soon as I start typing a command, it's covered up with (END) as in that image.
Travis Northcutt
  • 24,666
  • 9
  • 42
  • 51
475
votes
42 answers

fatal: early EOF fatal: index-pack failed

I have googled and found many solutions but none work for me. I am trying to clone from one machine by connecting to the remote server which is in the LAN network. Running this command from another machine cause error. But running the SAME clone…
William
  • 5,526
  • 6
  • 20
  • 42
466
votes
25 answers

Git Bash is extremely slow on Windows 7 x64

I've been using Git on both Windows and Ubuntu during the development of a small project, frequently flipping back and forth between the two. The issue is that Git Bash consistently becomes slow. When I say slow, I mean that running cd takes…
Gemini14
  • 6,246
  • 4
  • 28
  • 32
398
votes
20 answers

How to fix "corrupted" interactive rebase?

I managed to create a little mess in my local git repository. I was trying to fix a broken commit by using the following instructions. Before running the "git commit --amend" (and after the git rebase --interactive) I decided that my changes were…
Mikael Koskinen
  • 12,306
  • 5
  • 48
  • 63
375
votes
19 answers

Git on Windows: How do you set up a mergetool?

I've tried msysGit and Git on Cygwin. Both work just fine in and of themselves and both run gitk and git-gui perfectly. Now how the heck do I configure a mergetool? (Vimdiff works on Cygwin, but preferably I would like something a little more…
Jake
  • 15,007
  • 22
  • 70
  • 86
352
votes
8 answers

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. I want to switch to TortoiseGit, or PortableGit in my shell, but I'm left with these annoying…
DevelopingChris
  • 39,797
  • 30
  • 87
  • 118
331
votes
22 answers

git: 'credential-cache' is not a git command

I followed these instructions to the letter, including the part about password caching. It seems like the instructions are wrong, because every time I git push origin master I get this error: git: 'credential-cache' is not a git command. See 'get…
Big McLargeHuge
  • 14,841
  • 10
  • 80
  • 108
286
votes
9 answers

Trying to fix line-endings with git filter-branch, but having no luck

I have been bitten by the Windows/Linux line-ending issue with git. It seems, via GitHub, MSysGit, and other sources, that the best solution is to have your local repos set to use linux-style line endings, but set core.autocrlf to true. …
Brian Donahue
  • 3,052
  • 3
  • 17
  • 11
253
votes
25 answers

SSH Private Key Permissions using Git GUI or ssh-keygen are too open

Recently I've been unable to clone or push to github, and I'm trying to find the root cause. This is on windows I have cygwin + git as well as msysgit. Msysgit was installed with the following options: OpenSSH Use Git from Windows Command…
Ben Scheirman
  • 40,531
  • 21
  • 102
  • 137
213
votes
11 answers

How do I use Notepad++ (or other) with msysgit?

How do I use Notepad++ (or any other editor besides vim) with msysgit? I tried all of the following to no avail: git config --global core.editor C:\Program Files\Notepad++\notepad++.exe git config --global core.editor "C:\Program…
PHLAK
  • 22,023
  • 18
  • 49
  • 52
181
votes
12 answers

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

I am not even sure I am asking the right question. Let me explain my situation: This is about Git on Windows 7. My company sets up the Windows user directory on a network drive, not on the local hard drive (for backup and other purposes beyond the…
PEWColina
  • 2,014
  • 2
  • 13
  • 16
1
2 3
37 38