Git changes modification time of files

In the GitFaq I can read, that Git sets the current time as the timestamp on every file it modifies, but only those. However, I tried this command sequence: $ git init test && cd...

How do you copy and paste into Git Bash

I'm using msysgit running on Windows XP. Tried Ctrl+V, Right click, Middle click, google... no luck.

Configure Git to use Plink

I'm trying to configure Git to use Plink. It worked for me many times before. Now, for some reason, this option isn't available to me (it is disabled): I tried uninstalling and reinstalling Git a...

git: patch does not apply

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...

How to start git daemon on Windows

How do I start the git daemon on Windows in order to allow it to begin serving requests? Seems like msysgit is supposed to install it as a Windows Service or something but I don't see one.

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

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...

how do I clone files with colons in the filename

When I clone the repo using msysgit, all the files with spaces in the filename are not brought down, and then show as deleted in the status. The filenames looks something like this: styles-ie...

Pushing to Git returning Error Code 403 fatal: HTTP request failed

I was able to clone a copy of this repo over HTTPS authenticated. I've made some commits and want to push back out to the GitHub server. Using Cygwin on Windows 7...

Can Git treat ZIP files as directories and files inside the ZIP as blobs?

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 file are small text files and change often, while others are larger...

git clone can't resolve proxy

When I try to clone from git git clone "http://github.com/symfony/symfony.git" "d:/www/a/vendor/symfony" I get an error Cloning into 'd:/www/a/vendor/symfony'... error: Couldn't resolve proxy...

How to change line-ending settings

Is there a file or menu that will let me change the settings on how to deal with line endings? I read there are 3 options: Checkout Windows-style, commit Unix-style Git will convert LF to CRLF...

Merging Issues with Git

I am using git version 1.7.11.msysgit.0 I created a repository under GitHUB and added a file called as README.md with some text content . Later on , I have installed GIT Client , did a clone to...

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

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:...

How to find git log messages with more than one line?

I want to use git log in a project to view only the commits that have more than one line in their commit messages (i.e. they have a longer description). What is the best way to go about this? I...

TortoiseGit with openssh key not authenticating using ssh-agent

I'm setting up a git environment on Windows XP (msysGit 1.7.11, TortoiseGit 1.7.14) and trying to achieve following points : ssh connection on a port different than default 22 ssh...

git pull works only for master branch

Pulling any branch from any repository from a computer inside the git server's LAN works. However, on any remote computer (not on the same LAN as the git server), pulling master from any...

Embed git commit hash in a .Net dll

I'm building a C# application, using Git as my version control. Is there a way to automatically embed the last commit hash in the executable when I build my application? For example, printing the...

Git push hangs when pushing to Github?

Git push hangs everytime I try to push to github. I am using Cygwin and Windows 7. Git functions fine locally tracking branches, providing status, setting global user.name and user.email and...

fatal: early EOF fatal: index-pack failed

I have googled and found many solutions but none work for me. I am trying to clone from one machine by connecting to the remote server which is in the LAN network. Running this command from...

GIT - fatal: Could not resolve host: bitbucket.org

I understand there are many Git questions like mine and I can assure you I've been scraping the web and trying all solutions, to the point where I need to post my own question. General Info: OS:...

git help in Windows command prompt

The git help command on Windows (msysgit distribution) spawns web browser each time I run it. I tried git help -m which reports "No manual entry for ..." and git help -i which says "info: Terminal...

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

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...

Git Pull fatal: Couldn't find remote ref HEAD

GIT newbie here. I am trying my luck with a VPS running on ubuntu 12.04 x 64 to act as a private repository for my development. So I thought I might try my luck with git. I have installed git on...

Git commits wrong newlines when using .gitattributes

I was having an issue where merge conflicts resulted in the entire file being a conflict. This ended up being that the local file's newlines all became unix-style newlines (LF) at the time of...

Atom install packages fails every time

Environment is Windows 7 64bit and atom 1.0.5 atom can be used normally, but can not install any package. error info: Installing “[email protected]” failed.Hide output… gyp info it...

Package management in git for windows?

I'm reading the github wiki for git-for-windows and it says that msys2 bundles pacman: https://github.com/git-for-windows/git/wiki/Package-management But when I invoke it I get: $ pacman bash:...

MSysGit - run bat files directly

I installed new version of MSysGit and now I am not able to run *.bat files directly from command line("called MINGW64"). I try to search it, but I only saw options which needs run cmd...

Change Windows shell in Jenkins (from Cygwin to Git Bash/msys)

I have a Windows 7 and a Windows Server 2012 slave with the Jenkins agent and Cygwin already set up. I want to avoid Cygwin and just use the Git Bash shell that comes with Git for Windows (I think...

Trying to set file name length limit with git - Permission denied

I am trying to clone a GitHub repository containing files with long path names, and I am trying to get around Git's file length restriction using the command git config --system core.longpaths...

Git pull / push - unable to access HTTPS, SSL routines seem to be down

I'm using Git (and GitHub) on a daily basis and everything has been working fine and all of a sudden, I can no longer communicate with my remote GitHub repository through my Git commands. When I...