msysgit

Dealing with EOL characters in Cygwin Git and Git for Windows accessing the same repository

不打扰是莪最后的温柔 提交于 2019-12-21 12:37:31
问题 My autocrlf is equal to true. In my cygwin-shell git status gives me a correct list of all my changes. In Git Bash git status says I modified all files in the project. I also see this in Git GUI and the Changes-tab in IntelliJ. How is this possible, and more importantly, how can I fix it? 回答1: Cygwin Git "sees the world" as if it runs on a POSIX platform—thanks to the emulation provided by Cygwin. Contrary to this, Git for Windows is a native Windows program which does not use any emulation

gitolite installation issue

独自空忆成欢 提交于 2019-12-21 07:25:34
问题 Has any one tryied the easy install option of gitolite? I am trying to install gitolite from my windows (workstation ) to a solaris box. [command used to install] ./gl-easy-install -q git sjcfsap1 git The command breaks at the following place . *Y*ou are logging into system : [gitserver] cloning gitolite-admin repo... Initialized empty Git repository in c:/Documents and Settings/chandve/gitolite-a dmin/.git/ Password: fatal: 'gitolite-admin' does not appear to be a git repository fatal: The

How do Git SVN ignore-paths work (ignoring daily build tags)?

↘锁芯ラ 提交于 2019-12-20 09:56:47
问题 I am trying clone an svn repository using git svn. The repository has daily builds tagged which I want to ignore. I am trying to use the "ignore-paths" option to do that, but I am still getting the daily build tags as branches in my repository. A very recent and similar (but so far unanswered) question is here: How to git svn fetch only branches/tags with certain patterns? Repository Layout - https://test.kuali.org/svn/rice General Repository Structure branches Branch 1 Ignore Directory 1

Can git treat zip files as directories and files inside the zip as blobs?

元气小坏坏 提交于 2019-12-20 08:02:38
问题 The scenario Imagine I am forced to work with some of my files always stored inside .zip files. Some of the files inside the zip are small text files and change often, while others are larger but luckily rather static (e.g. images). If I want to place these zip files inside a git repository, each zip is treated as a blob, so whenever I commit the repository grows by the size of the zip file... even if only one small text file inside changed! Why this is realistic MS Word 2007/2010 .docx and

'X' does not appear to be a git repository (I'm sure the path is correct)

China☆狼群 提交于 2019-12-19 21:55:56
问题 I want to be able to work from home by cloning of the git repository that exists on my work desktop to my laptop. Both systems are running msysgit within a cygwin shell. Both systems are using cygwin's ssh. If I ssh to that server, I can see the repository at the path /cygdrive/d/Projects/TheProject $ ssh TheDesktop MyUser@TheDesktop's password: ...I enter the password, see the MOTD, and I'm in... $ cd /cygdrive/d/Projects/TheProject ...See the git repository here. Even see the current branch

How to set the correct local time zone in git bash?

一笑奈何 提交于 2019-12-19 08:52:00
问题 I am using git-bash on a Windows system. The Windows clock shows local time, but inside git-bash everything is in GMT time: $ date Mon Mar 31 16:08:57 GMT 2014 Also setting TZ will not change things: $ TZ="Europe/Berlin" date Mon Mar 31 16:09:01 GMT 2014 Similarly all times it git log are GMT only. Is there a way to set the correct timezone in git-bash? 回答1: On Windows the TZ variable seems to work differently. To get the German timezone you have to write: TZ=GST-1GDT date If you set it to

msysgit troubles

风格不统一 提交于 2019-12-19 06:43:51
问题 So I seem to have some real issues setting up msysgit. I can connect via putty to my SSH directory using ssh://user@host:port And I have the correct keys. I can also do this using plink via the plink -P PORT user@host -i /path/to/private_key.ppk When I attempt to run (via TortiseGIT) or via a git bash git clone ssh://user@host:port/path/to/myapp.git I just keep getting the error Initialized empty Git repository in D:/Git/myapp.git warning: You appear to have cloned an empty repository. fatal:

msysgit troubles

╄→гoц情女王★ 提交于 2019-12-19 06:41:56
问题 So I seem to have some real issues setting up msysgit. I can connect via putty to my SSH directory using ssh://user@host:port And I have the correct keys. I can also do this using plink via the plink -P PORT user@host -i /path/to/private_key.ppk When I attempt to run (via TortiseGIT) or via a git bash git clone ssh://user@host:port/path/to/myapp.git I just keep getting the error Initialized empty Git repository in D:/Git/myapp.git warning: You appear to have cloned an empty repository. fatal:

pushing to github from work “Bad file number” error

人走茶凉 提交于 2019-12-18 19:08:52
问题 I got msysgit installed at my computer. And I configured it to work with github at home, where everything went fine. At work it doesn't: D:\rails_tutorial_projects\first_app>git push --verbose Pushing to git@github.com:Monomachus/DemoRubyApp.git ssh: connect to host github.com port 22: Bad file number fatal: The remote end hung up unexpectedly I read about Smart HTTP Support https://github.com/blog/642-smart-http-support But it seems that it doesn't work too. I make clone and all that stuff

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

主宰稳场 提交于 2019-12-18 14:43:01
问题 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