msysgit

Setup a Git server with msysgit on Windows [closed]

五迷三道 提交于 2019-11-26 13:58:23
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 ? Tim I found this post and I have just posted something on my blog that might help. See Setting up a Msysgit Server with copSSH on Windows . It's

git: patch does not apply

南笙酒味 提交于 2019-11-26 12:17:52
问题 I have a certain patch called my_pcc_branch.patch. When I try to apply it, I get following message: $ git apply --check my_pcc_branch.patch warning: src/main/java/.../AbstractedPanel.java has type 100644, expected 100755 error: patch failed: src/main/java/.../AbstractedPanel.java:13 error: src/main/java/.../AbstractedPanel.java: patch does not apply What does it mean? How can I fix this problem? 回答1: Johannes Sixt from the msysgit@googlegroups.com mailing list suggested using following

Fix msysGit Portable $HOME location

a 夏天 提交于 2019-11-26 12:17:07
问题 I have successfully installed and configured msysGit Portable on my flash drive, and have used it to pull and push GitHub repos. However, I seem to always have to kludge the SSH support. Specifically, in order for SSH to find my key files, I have to follow these instructions to start a second instance of ssh-agent and then ssh-add my key every time I run git-bash.bat. Using the output of ssh -v git@github.com to debug I see that msysGit defaults to my Windows user directory to look for keys.

Git under windows: MSYS or Cygwin?

谁说胖子不能爱 提交于 2019-11-26 12:04:43
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. Given that, what option would you suggest? VonC Edit (2 more years later: October 2014) Johannes Schindelin

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

时间秒杀一切 提交于 2019-11-26 11:44:33
问题 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: unable to get local issuer certificate\". I have the self signed certificate installed in the Trusted Root Certification Authorities of my Windows 7 - client machine. I can browse to the https repository url in Internet Explorer with no error

How do I force git to use LF instead of CR+LF under windows?

落爺英雄遲暮 提交于 2019-11-26 11:27:28
I want to force git to checkout files under Windows using just LF not CR+LF . I checked the two configuration options but I was not able to find the right combination of settings. I want it to convert all files to LF and keep the LF on the files. Remark: I used autocrlf = input but this just repairs the files when you commit them. I want to force it to get them using LF . Probably I wasn't so clear: the repository is already using LF but the files checked out using msysgit are using CR+LF and I want to force msysgit to get them with LF : forcing Unix line endings . >git config --list | grep

Git Bash is extremely slow on Windows 7 x64

泄露秘密 提交于 2019-11-26 11:25:58
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 anywhere from 8-25 seconds, running git commands take from 5-20 seconds, and ls can take up to 30 seconds sometimes. Needless to say, this is not fun, not to mention unproductive. I know Git is slower on Windows, but this is ridiculous. The one solution which has worked--temporarily--for me has been to disable my network connection (as suggested in this

msysgit 中文乱码问题解决方法

空扰寡人 提交于 2019-11-26 11:22:43
msysgit安装好后处理中文是有问题的:ls中文目录/文件名乱码;提交中文的log,push到服务器上会乱码;git log查看服务器pull过来的log乱码。 1、ls命令列出的中文目录/文件名正确显示解决方法: 以下配置文件的起始目录都为你安装msysgit所在的目录。 在Git安装目录下 \etc\git-completion.bash,加入: alias ls='ls --show-control-chars --color=auto' 2、 git log中的less乱码问题,需要添加支持utf-8;在\etc\profile,加入: export LESSCHARSET=utf-8 3、 log注释里的中文乱码问题,需要在\etc\gitconfig 文件加入: [gui] encoding=utf-8 [i18n] commitencoding=GBK 乱码情景1 使用git add添加要提交的文件的时候,如果文件名是中文,会显示形如 274\232\350\256\256\346\200\273\347\273\223.png 的乱码。 解决方案:在bash提示符下输入: git config --global core.quotepath false 乱码情景2 在MsysGit中,使用git log显示提交的中文log乱码。 解决方案:设置git

Clone works, remote push doesn't. Remote repository over copssh

守給你的承諾、 提交于 2019-11-26 11:18:12
问题 I\'ve \"setup-a-msysgit-server-with-copssh-on-windows\", following Tim Davis\' guide and I was now learning how to use the git commands, following Jason Meridth\'s guide, and I have managed to get everything working fine, but now I can\'t pass the push command. I have set the server and the client on the same machine (for now), win7-x64. Here is some info of how things are set up: CopSSH Folder : C:/SSH/ Local Home Folder : C:/Users/rvc/ Remote Home Folder: C:/SSH/home/rvc/ # aka /cygdrive/c

gitolite push error -> remote: ENV GL_RC not set

痴心易碎 提交于 2019-11-26 11:18:08
问题 I am trying to push content from a workstation to a server. But it gives me an error. Please look at the following for command and error: Administrator@ganesh ~/testing $ git push origin master Counting objects: 3, done. Writing objects: 100% (3/3), 241 bytes, done. Total 3 (delta 0), reused 0 (delta 0) remote: ENV GL_RC not set remote: BEGIN failed--compilation aborted at hooks/update line 20. remote: error: hook declined to update refs/heads/master To git@ganesh:repositories/testing !