Questions tagged [git-for-windows]

Git for Windows focuses on offering a lightweight, native set of tools that bring the full feature set of the Git SCM to Windows while providing appropriate user interfaces for experienced Git users and novices alike.

197 questions
587
votes
6 answers

How do I force Git to use LF instead of CR+LF under Windows?

I want to force Git to check out files under Windows using just LF not CR+LF. I checked the two configuration options, but was not able to find the right combination of settings. I want to convert all files to have LF line breaks and keep the LF in…
sorin
  • 161,544
  • 178
  • 535
  • 806
46
votes
8 answers

How to remove git from menu context in Documents?

I have a little question: How can I remove the "git bash here" and "git gui here" from my menu context in my Documents directory? I have tried: Reinstalling the Git-2.15.0-64-bit with unchecked options. Removing the keys…
32
votes
7 answers

git clone works; git submodule fails "Permission denied"

On a private repository from gitlab, when I run git clone git@git.privateserver.local:group/project-submodule.git the clone completes successfully. As part of the cloning process, I'm asked for the passphrase of my private key. When I run submodule…
brunoais
  • 6,258
  • 8
  • 39
  • 59
27
votes
1 answer

In Git for windows "git bash", how to "print working directory" in Windows path format that is usable by cmd and Windows explorer?

When using Git for Windows "git bash" on Windows, how to conveniently print the working directory in Windows path representation, e.g. D:\foo\bar similar to using 'pwd' to get the Unix representation /d/foo/bar/ such that the path can be read by…
yhd.leung
  • 1,162
  • 1
  • 18
  • 27
27
votes
3 answers

AWS CodeCommit Error: git: 'credential-aws' is not a git command

I am new to Amazon Web Services world, and I am implementing Continuous Delivery to the company I work for. I followed AWS's [instructions to configure CodeCommit Service]…
25
votes
3 answers

git blame on windows reports "fatal: no such path in HEAD"

When I run git blame on a file in a folder e,g,: git blame Foo/FileA.txt it returns fatal: no such path 'Foo/FileA.txt' in HEAD I can clearly see that this file exists on the file system, and other files in the same folder can be successfully blamed…
James World
  • 29,019
  • 9
  • 86
  • 120
21
votes
7 answers

fatal: unable to access getaddrinfo() thread failed to start

When I type: git push origin master Error : fatal: unable to access 'https://github.com//.git/': getaddrinfo() thread failed to start What do I do? This is git being used on a windows machine
Tanishq Vyas
  • 1,422
  • 1
  • 12
  • 25
20
votes
6 answers

update git via cmd?

I recently updated my Git Extension to 3.0.2.5232 and now my git is no longer supported. When I run: git --version I get git version 2.9.0.windows.1 However, I can't just download the latest version of git online because I can't run an .exe…
testing
  • 363
  • 1
  • 4
  • 10
17
votes
4 answers

How to install git on Windows 10 without Git Bash or GUI?

I am trying to install Git on Windows 10, but without Git Bash or GUI. I want to use Git in PowerShell and I would like not to bloat my PC. I know the install size is small, but that's not the issue. I've tried going through the installer from…
12
votes
2 answers

How do I upgrade MinTTY in Git for Windows

I appreciate that this is borderline off-topic, but it does "directly involve programming or programming tools" so I figure it's just about OK... I've just installed a newly downloaded version of Git for Windows, and noticed that in the Options…
DaveyDaveDave
  • 9,821
  • 11
  • 64
  • 77
12
votes
2 answers

Stashed files show up as unchanged in `git status` (git v.2.16.0)

I use git-for-windows v2.16.0 and encountered the following problem, which also was reported here: I initially have a clean working state; Output of 'git status': git status On branch beta nothing to commit, working tree clean Then I make local…
Mode77
  • 991
  • 8
  • 28
10
votes
2 answers

Why does signing commit with SSH key fail with "invalid format?" and "failed to write commit object"?

I followed GitHub's instructions for telling git about my SSH key, but when I tried to sign a commit git commit -S I got this error: error: Load key "C:\\Users\\MyName\\AppData\\Local\\Temp/.git_signing_key_tmpC5KwFc": invalid format? fatal:…
Brad Turek
  • 2,472
  • 3
  • 30
  • 56
10
votes
3 answers

Git Bash error: fsmonitor_ipc__send_query

I would just like to ask what could be the meaning of this error? error: fsmonitor_ipc__send_query: unspecified error on '.git/fsmonitor--daemon.ipc' I'm trying to find something similar to this case but for some reason, all I see is another line…
Shironekomaru
  • 361
  • 1
  • 6
  • 15
10
votes
1 answer

Maven classworlds.launcher.Launcher error in Git for Windows (64-bit)

I've been using Maven on Git Bash (64-bit) for a few months now, and suddenly it stopped working, and is now generating this error on any maven command: myuser@mypc MINGW64 ~ (master *) $ mvn -v Error: Could not find or load main class…
mcknz
  • 467
  • 9
  • 27
9
votes
2 answers

git: fatal: detected dubious ownership

I work with a new Windows installation and the same folder on my network share (NAS System). After installing git and tortoisegit I tried to connect to the git repository, but I always get this error. What has changed is the server and not the…
Matthias Pospiech
  • 3,130
  • 18
  • 55
  • 76
1
2 3
13 14