msysgit

Where do the settings in my Git configuration come from?

北战南征 提交于 2019-12-16 22:18:11
问题 I've noticed that I have two listings for core.autocrlf when I run git config -l $ git config -l core.symlinks=false core.autocrlf=false color.diff=auto color.status=auto color.branch=auto color.interactive=true pack.packsizelimit=2g help.format=html http.sslcainfo=/bin/curl-ca-bundle.crt sendemail.smtpserver=/bin/msmtp.exe diff.astextplain.textconv=astextplain rebase.autosquash=true user.name=name user.email=email@example.com core.autocrlf=true Those last three (from user.name down) are the

How to change line-ending settings

北战南征 提交于 2019-12-16 22:06:14
问题 Is there a file or menu that will let me change the settings on how to deal with line endings? There are 3 options: Checkout Windows-style, commit Unix-style Git will convert LF to CRLF when checking out text files. When committing text files, CRLF will be converted to LF. For cross-platform projects, this is the recommended setting on Windows ("core.autocrlf" is set to "true") Checkout as-is, commit Unix-style Git will not perform any conversion when checking out text files. When committing

Difference between msysgit and Cygwin + git?

大城市里の小女人 提交于 2019-12-16 20:34:14
问题 What is the difference between msysgit and Cygwin + git? Now I'm using msysgit, but I don't like the Git Bash (you can't resize or copy/paste) so I'm thinking think about switching to Cygwin, because then I could use mintty. 回答1: Edit 2018: Since my 2010-2012-2014 answer, in 2015 Git for Windows uses msys2, as I detail here. See more in "How are msys, msys2, and msysgit related to each other?". Edit (2 more years later: October 2014) Johannes Schindelin just explained (Oct. 2014) that msysgit

git gui branch management

牧云@^-^@ 提交于 2019-12-12 21:26:46
问题 Hi I am an inexperienced Git user on Windows. I am using Git Gui. I am interested in Branch Management. My repo has a branch called 'leafy', how do I check this branch out to my local machine, and them cherry pick a commit from master into leafy? Thanks a LOT --MB 回答1: Thanks for replies, but I said I am using Git Gui To checkout newly created branch (exists on server, not locally), it's a 2 step process: Git Gui -> Branch -> Check Out -> Tracking Branch -> Choose Branch Branch -> Create ->

git shell on Windows reports “sh.exe has stopped working (APPCRASH)”

时光总嘲笑我的痴心妄想 提交于 2019-12-12 15:12:50
问题 I have tried both the Git shell installed by GitHub and that provided by Git for Windows on my Windows Server 2012 R2 virtual machine on XenServer 6.20 With each, git command line calls fail with the message sh.exe has stopped working (APPCRASH) This is a recent problem. Can anyone advise me of a solution? 回答1: The issue appears to be caused by the XenServer 6.20 Guest tools I installed after first installing git. There is an update for Windows Server 2012 R2. Alternatively, you can uninstall

msysGit: Why does git log output blank lines?

白昼怎懂夜的黑 提交于 2019-12-12 14:17:19
问题 It appears to insert less blank lines the closer I type the command to the bottom of the terminal window. If I type it at the top of the terminal window, it inserts nearly a full window height of blank lines; if I type it at the very bottom, no blank lines are inserted. It seems like the pager program is pushing output to the bottom of the terminal window, but I want the output to be right below my command or at the top, like in Linux git. I can get expected behavior by using git --no-pager

Is there an easy way to change to previously active branch?

你说的曾经没有我的故事 提交于 2019-12-12 12:08:38
问题 I'm using git (in fact, msysgit) 1.6.4 on Windows. Most of the time I'm doing work in some feature branches. Every now and then, I want to hop back to master to cherry-pick one particular commit I did in my feature branch - usually because it's a useful bugfix which makes sense even without the feature. My workflow is like this - if this is unnecessarily complicated, please tell me :-) : git checkout -b mycoolfeaturebranch // hack away, implementing a feature and one bugfix (while I'm at it)

Cygwin git push hangs, msysgit okay

独自空忆成欢 提交于 2019-12-12 09:38:02
问题 I'm behind a proxy, and I'm quite new to git and I'm on Windows XP. I've been able to make a git push origin master work from msysgit but can't make it work in Cygwin with Cygwin's git. I configured git using the following command lines in both environments: git config --global user.name ... git config --global user.email ... git config --global http.proxy ... I'm playing with a test Github repo. The issue I have is with the following command line: git push origin master In msysgit, I have

/bin/env: python: No such file or directory (Windows through Git Bash trying to install new Parse Cloud Code)

这一生的挚爱 提交于 2019-12-12 09:29:41
问题 Trying to install python from the link here does not seem to give access to the python command in Msysgit... following the instructions here, does not actually say how to get python to work as needed. Current error when running parse new project_name is: /bin/env: python: No such file or directory I believe it's likely because it installed it at C:\Python ... anyone know how to fix this? 回答1: This error means that Git Bash does not know where your python.exe is. It searches your normal

Install xgboost under python with 64-bit msys failing

独自空忆成欢 提交于 2019-12-12 00:25:32
问题 I want to install xgboost using anaconda python. In this process, I am trying to install xgboost. While trying to "make" the xgboost i am getting the below error: C:\GitRepository\xgboost> g++ -m64 -c -Wall -O3 -msse2 -Wno-unknown-pragmas -funroll-loops -fopenmp -fPIC -o updater.o src/tree/updater.cpp src/tree/updater.cpp:1:0: warning: -fPIC ignored for target (all code is positio n independent) // Copyright 2014 by Contributors ^ src/tree/updater.cpp:1:0: sorry, unimplemented: 64-bit mode