msysgit

File '_netrc' / '.netrc' is not accepted by Git

*爱你&永不变心* 提交于 2019-12-01 01:42:55
问题 I have set the %HOME% environment variable on my Windows installation. In that folder I have put a file called _netrc. Inside that file I have: machine code.google.com login <logon> password <censored> But both, MSYS and Tortoise keep asking for a password. I am using Windows 7, MSYSGit and TortoiseGit. Why does this not work? I have found an article on Stack Overflow that said it must be named _netrc and not .netrc, but none of them work. 回答1: Assuming you did everything that was described

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

你说的曾经没有我的故事 提交于 2019-12-01 00:42:49
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 same permission denied message. Any clues as to how to fix this? Update Also, when I do "git gui here" - I get: Cannot determine Git version. couldn't execute "C\...\git-core\git.exe Git Gui requires Git 1.5.0 or later I'm using a version newer than 1.5.0. VonC The

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

做~自己de王妃 提交于 2019-11-30 19:41:14
问题 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 same permission denied message. Any clues as to how to fix this? Update Also, when I do "git gui here" - I get: Cannot determine Git version. couldn't execute "C\...

Automate git bisect for MSBuild/NUnit/.NET/Windows batch commands in msysgit?

情到浓时终转凉″ 提交于 2019-11-30 16:08:34
问题 I would like to automate git bisect (instructions also available at official Linux Kernel Git documenation for git bisect) for building a .NET project with MSBuild, and run unit tests for it with nunit-console.exe. However, these tools were built for use in a Windows development environment, and I'm having various issues with getting them to work in the Bash environment of msysgit, summarized as follows: Bash can't seem to find MSBuild.exe nor nunit-console.exe (path issue). Both MSBuild.exe

Automate git bisect for MSBuild/NUnit/.NET/Windows batch commands in msysgit?

断了今生、忘了曾经 提交于 2019-11-30 15:55:47
I would like to automate git bisect (instructions also available at official Linux Kernel Git documenation for git bisect ) for building a .NET project with MSBuild , and run unit tests for it with nunit-console.exe . However, these tools were built for use in a Windows development environment, and I'm having various issues with getting them to work in the Bash environment of msysgit, summarized as follows: Bash can't seem to find MSBuild.exe nor nunit-console.exe (path issue). Both MSBuild.exe and nunit-console.exe use Windows style commandline option flags, i.e. they begin with a foward

'Maybe git-rebase is broken'

爷,独闯天下 提交于 2019-11-30 13:05:03
3rd Update More information: commands in the git-bash shell work as expected in the git-bash shell, Git\bin\git.exe is called Git\bin is where sh.exe lives in PowerShel (or cmd, or tcc), Git\cmd\git.exe is called even after adding Git\bin to the PATH (after Git\cmd), the scripts don't work Very frustrating... 2nd Update It appears all the git commands implemented by .exe files work: git-fetch.exe, git-merge.exe, git-push.exe, etc. It appears all the commands implemented as scripts to not work: Git\libexec\git-core\git-pull Git\libexec\git-core\git-rebase etc. So, whatever git.exe is calling to

Is there a way to use Windows Authentication (Active Directory) for a Git server?

China☆狼群 提交于 2019-11-30 11:06:37
I have found articles regarding how to install Git on a Windows server and use SSH (such as CopSSH) for authentication. I am a little surprised by this as I remember reading that one should not use a Windows machine for a shared Git repository (sorry don't remember where I read that). My question is can I setup Git to use Windows Authentication rather than SSH? This would be considerably easier for me to administer. Since the machine would be administered by me in my "spare time", easier is better. You can simply use a shared folder as git repository inside your domain and administer it with

Differences between Git-scm, msysGit & Git for Windows

核能气质少年 提交于 2019-11-30 10:21:28
问题 What is the difference between git-scm (downloaded from git-scm.com) and msysGit (hosted on Google Code, Github, and probably others)? They both seem pretty similar, and even though I have git-scm, I have applied fixes specified for msysGit and they seem to work fine. Also, which one, if either, is Git for Windows , and are both called Git Bash , or do both have the Git Bash shell, or only one of the two? 回答1: The website git-scm.com is the official website for Git, the version control

Git and SVN on Windows

ぐ巨炮叔叔 提交于 2019-11-30 08:39:54
I'm trying to run git for my local repository and use SVN for my central repository to a CodePlex project. I downloaded the most recent version of msysgit , but the SVN support doesn't appear to be working. The following successfully initializes a new empty repository and then gets stuck: git svn init https://myproject.svn.codeplex.com git svn fetch After attempting to perform the fetch, I get the following: Error validating server certificate for 'https://myproject.svn.codeplex.com:443' : - The certificate is not issued by a trusted authority. Use the fingerprint to validate the certificate

Passing windows slash (/) based parameters to a program from bash script

老子叫甜甜 提交于 2019-11-30 08:09:18
I'm trying to run the following from my bash script. (bash installed via msysgit) taskkill /IM ssh-agent.exe The output I get on the screen from taskkill is: ERROR: Invalid argument/option - 'C:/Program Files/Git/IM'. Type "TASKKILL /?" for usage. The executible is running, but the /IM is being expanded regardless of what I try to do to escape it... I've tried using \/IM but then it sends \/IM without escaping the slash, I've tried a few different ways of running it through eval, cmd /c start, etc... but they all seem to have issues. I've also tried set -o noglob , which also didn't work.