msysgit

git, msysgit, accents, utf-8, the definitive answers

余生长醉 提交于 2019-11-26 11:15:29
I've read in some places that there are problems with git (or just msysgit?) and character encoding - I believe it's only a problem in file names. What I'd like is some 'definitive' (or at least authoritative) information about: What exactly are the 'problems'? (The symptoms) What are the causes? (Briefly) In what scenarios is this a show stopper? Is there any resolution in sight, or failing that any workarounds? I hope this question isn't too vague, I think it would be good to have all of this information in one place to be able to point people to it... VonC Update Feb. 2017 (Git 2.12): The

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

一个人想着一个人 提交于 2019-11-26 10:05:40
问题 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 --help\'. ... at which point I am forced to enter my username and password. After doing so, I am presented with the same error message again, followed by the output from git push . Here is the contents of my .gitconfig file: [user] name =

Escape @ character in git proxy password

早过忘川 提交于 2019-11-26 07:39:05
I have git proxy config as 'http.proxy=http://userId: pwd@123 @ipaddress:port' but while cloning a remote project, I'm getting error as Cloning into git... error: Couldn't resolve proxy '123@ipaddress' while accessing http://git.kernel.org/pub/scm/git/git.git/info/refs fatal: HTTP request failed How to escape the '@' character in password? Pls note: I cannot change the password. I'd try using the URL Encoded value of the @ symbol if you're passing the password in the proxy url: http.proxy=http://userId:pwd%40123@ipaddress:port Note (November 2013) Encoding the url (especially any special

use Winmerge inside of Git to file diff

血红的双手。 提交于 2019-11-26 06:54:52
问题 Is there a way to use Winmerge inside of git to do Diffs? 回答1: Update June 2015, 6 years later: As detailed in "git mergetool winmerge", a simple git config diff.tool winmerge will be enough. Git 2.5+ (Q2, 2015) is now aware of Winmerge as a diff or merge tool! Original answer (2009-2012) (msysgit, 1.6.5, DOS session) The first part (using winmerge) is described in "How do I view ‘git diff’ output with visual diff program?" C:\myGitRepo>git config --replace --global diff.tool winmerge C:

Msysgit bash is horrendously slow in Windows 7

元气小坏坏 提交于 2019-11-26 06:14:28
问题 I love git and use it on OS X pretty much constantly at home. At work, we use svn on Windows, but want to migrate to git as soon as the tools have fully matured (not just TortoiseGit, but also something akin the really nice Visual Studio integration provided by VisualSVN). But I digress... I recently installed msysgit on my Windows 7 machine, and when using the included version of bash, it is horrendously slow. And not just the git operations; clear takes about five seconds . AAAAH! Has

Ignoring directories in Git repositories on Windows

若如初见. 提交于 2019-11-26 05:49:02
问题 How can I ignore directories or folders in Git using msysgit on Windows? 回答1: Create a file named .gitignore in your project's directory. Ignore directories by entering the directory name into the file (with a slash appended): dir_to_ignore/ More information is here. 回答2: By default, Windows Explorer will display .gitignore when in fact the file name is .gitignore.txt . Git will not use .gitignore.txt And you can't rename the file to .gitignore , because Explorer thinks it's a file of type

Git 1.6.4 beta on Windows (msysgit) - Unix or DOS line termination

老子叫甜甜 提交于 2019-11-26 04:22:52
I am installing msysgit 1.6.4 beta on my Win Vista development VPC. An install screen is requesting whether I want to use Unix line termination or DOS line termination. Ordinarily, I'd choose DOS, but the setup text indicates that DOS termination may mean files do not work with all of Git's command line tools. The Unix line termination states "...most [Windows] applications can handle this...". Does anyone know which option I should choose to use Git via the shell for my VS 2008 work? VonC That settings during the install process of msysgit is actually here to fix the value of the core

Setup a Git server with msysgit on Windows [closed]

旧街凉风 提交于 2019-11-26 03:46:32
问题 My friends and I are trying to setup Git for Windows using the tutorial Git Server: Gitosis and Cygwin on Windows , but we just keep running into problems. What would a \"Setup Git Server\" guide for Windows using msysgit be like? There is a comment in the tutorial above suggesting it can\'t be done with msysgit because gitosis requires the use of an SSH Server and Bash? What is a step by step guide (as there is not one available)? Install mysisgit ? 回答1: I found this post and I have just

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

淺唱寂寞╮ 提交于 2019-11-26 03:46:10
问题 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 user-friendly for some of our Windows-loving coworkers.) 回答1: To follow-up on Charles Bailey's answer, here's my git setup that's using p4merge (free cross-platform 3way merge tool); tested on msys Git (Windows) install: git config --global merge.tool

Git under windows: MSYS or Cygwin?

三世轮回 提交于 2019-11-26 02:51:12
问题 I plan to migrate my projects over to git, and I\'m currently wondering which is the best and / or most stable option under windows. From what I gather I basically have 2.5 options: MSYSgit git under Cygwin (aka 2.5) MSYSgit from a Cygwin prompt (given that Cygwin git is already installed). Note: IMO Cygwin in itself is a big plus as you can have access to pretty much all the *nix command line tools, as where with MSYSgit bash, you only have access to a rather small subset of these tools.