msysgit

Git for Windows - The Program can't start because libiconv2.dll is missing

蹲街弑〆低调 提交于 2019-11-26 19:00:16
问题 When I attempt to run certain commands (like git push, for example) from a git Bash on Windows 7 (64bit) I get the error: The program can't start because libiconv2.dll is missing from your computer I have searched exhaustively for a solution to this. The most I can find is an issue thread at the google code site (Issue 419) and a few other blogs here and there. As far as I can tell none of the suggestions offered in the posts will actually solve my issue. I have tried re-installing. I have

Msysgit bash is horrendously slow in Windows 7

北慕城南 提交于 2019-11-26 18:17:24
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 anyone experienced a similar issue? Edit : It appears that msysgit is not playing nicely with UAC and

Git Bash Shell fails to create symbolic links

梦想与她 提交于 2019-11-26 17:57:54
问题 When I try to create a symbolic link from the Git Bash shell, it fails every time all the time: $ ln -s /c/Users/bzisad0/Work testlink ln: creating symbolic link `testlink' to `/c/Users/bzisad0/Work': Permission denied The only thing it does, besides give the error message, is create an empty directory named (in this case) testlink . I don't see any problem with the ln executable. For instance, it is owned by me and marked as executable: $ which ln /bin/ln $ ls -hal /bin/ln -rwxr-xr-x 1

Windows shortcut to run a Git Bash script

大城市里の小女人 提交于 2019-11-26 17:37:41
问题 Assuming I have a test.sh script that runs a server and Git Bash installed, how do I create a Windows shortcut that I can double click to run tesh.sh in Git Bash in the foreground and allows me to see the output of the server? 回答1: Git bash is already a batch file with content similar to this : C:\WINNT\system32\cmd.exe /c ""C:\Git\bin\sh.exe" --login -i" If you want run (and leave running) a shell script in the context of the shell, specify it at the command line. The trick is that when the

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

本秂侑毒 提交于 2019-11-26 17:30:24
问题 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 scope of this question). I cannot change that policy. I CAN have local files outside of that scheme however and that is how my Apache server is set up. Entirely local. I installed Git. It installs Bash. When I fire up Bash and cd ~ (change to the

github: No supported authentication methods available

纵然是瞬间 提交于 2019-11-26 17:30:00
问题 i use github and have successfully added and synched files on my laptop in the past. as of recent i started getting " PuTTY Fatal Error: Disconnected: No supported authentication methods available " after running: git pull origin master (or push) however ssh git@github.com returns the correct response: ERROR: Hi username! You've successfully authenticated, but GitHub does not provide shell access Connection to github.com closed. after digging around on github i found this morcel: No supported

What happens when I clone a repository with symlinks on Windows?

本小妞迷上赌 提交于 2019-11-26 17:28:32
问题 There's been a lot of questions about adding support for symlinks on Windows. But, what actually happens when I clone a repository with symlinks on Windows? 回答1: Since version 1.5.3 of the native Git client git clone and git init will probe the target file system for symlink support and set the local repository configuration for core.symlinks accordingly, i.e. to false for FAT or NTFS. This makes symlinks created and committed e.g. under Linux appear as plain text files that contain the link

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

匆匆过客 提交于 2019-11-26 16:51:42
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 Files\Notepad++\notepad++.exe" git config --global core.editor C:/Program Files/Notepad++/notepad++.exe git config --global core.editor C:\\Program Files\\Notepad++\\notepad++.exe VonC Update 2010-2011: zumalifeguard 's solution (upvoted) is simpler than the original one, as it doesn't need anymore a shell wrapper script. As I explain in " How can I set up an editor

Windows 下 msysgit 中文配置

女生的网名这么多〃 提交于 2019-11-26 15:48:48
一、 概述 1. 参考文章 《 git 乱码解决方案汇总》 《另类方法解决 Windows 下 git-bash 中文输入的乱码问题》 2. 相关软件 Git for Windows msysgit : msysgit 是 Git 版本控制系统在 Windows 下的版本。 点击进入 msysgit 下载页面 也可下载 Portable 版本,此版本无需安装,解压后可直接使用。 点击进入 msysgit Portable 版本下载页面 msys : 一个通过将 Linux 源代码在 Win32 上编译而成的 UNIX 工作环境 。 点击进入 msys-cn 下载页面 二、 中文环境配置 1. 正常文件配置 文件: 安装目录 /etc/git-completion.bash 添加如下代码 #ls能够正常显示中文 alias ls='ls --show-control-chars --color=auto' 文件: 安装目录 /etc/inputrc 修改如下代码 set output-meta off set convert-meta on 为 #中文的正常输入 set output-meta on set convert-meta off 文件: 安装目录 /etc/gitconfig 添加如下代码 [gui] #代码库统一用urf-8,在git gui中可以正常显示中文

msysgit on windows — what should I be aware of, if any?

我的梦境 提交于 2019-11-26 15:19:35
问题 This is related to another question I asked recently. When installing msysgit, the installer presents 3 options related to system path: Never change windows environment. With this option, you have to use the "bash" shell to work with git. Add the git\bin directory to the PATH environment variable, but without overriding some builtin windows tools. Fellow stackoverflow-ian Gabe Moothart told me in a comment that this option will make some git operations fail! What are these operations? Should