[Git] [Resolved] When using Msysgit/git/tortoisegit on a Windows system to access the repository of the GIT protocol. Git push will get stuck and not respond.

Source: Internet
Author: User

Found in accordance with the git push stuck to Google, can search a lot of previous peer sent blog has mentioned, but seemingly no solution. This problem has been solved in the latest version of Msysgit, hoping the solution will spread out. Let more programs ape classmates see.

=====================

Ah ah ah, studied for two days, finally found solution. Go to the shouts for a while

=====================

The project team used the server to hang up, hard disk damage, SVN and many other content is no longer available, recovery hopeless.

Although our code is not how to put on it before, but the lesson, this time will be shown in addition to Git's tall. So I'm going to abandon the svn that I built and get git.

Use Gitosis to build on idle Mac server and run Git daemon. Use Ssh-gen to checkin, feel good convenient has wood has!!! There is wood on the tall!!!

Until I hung up in Windows ...

This is probably the case (copy from the original):

git clone git://xxx.xxx/xxx.git

Then add the file, edit, git add,commit, then push, and the result:

[Master 9447645] Test
1 file changed, 1 insertion (+)
Counting objects:20, done.
Compressing objects:100% (12/12), done.
Writing objects:100% (18/18)

The card is not moving, and the change is not in the push .... Can't get in ... Not going to ... To...

I thought it was the wrong way to open, various retries, retry, retry, change posture, try again ... The result, Google Bar (by the way despise Baidu, Mao also can't search out), turn over the internet finally wait until you ~ Fortunately I did not give up.

Windows git tools, whether GUI or command tool, are all based on msysgit. and msysgit in the realization, there is a little flaw, looked up thousands of data, found that the problem, due to open source contributors too little too busy too hard, delayed for 4 years did not solve. It is said that the support of some side-bind-64bit is not good cause. What the hell! Who knows what that is ...

Searched all kinds of solution, there are cows in the server side to modify git binary files, is said to be fooled. But I'm not a git server built in Linux, it's a Mac, and I didn't find the string to modify in binary files.

Finally found that open-source Daniel has given a solution (for Mao early did not find Ah, a full two days ah ...) ), in the latest version of Msysgit 1.9.4, can be settled by a setting:

Add the following in the GIT config:

False

To me, it works fine.

From this git I can. How to push how cool.

Mom never had to worry about my server hanging up. A line of code for two days Saad, although it feels like being played, but still feel very substantial.

Above.

By the way, a protracted discussion on this issue is attached:

https://github.com/msysgit/git/issues/101#

Thanks again for the open-source Daniel.

Oh, yes, most of them don't understand Chinese: A Big Big THANK to the GUYS who's working for the OPEN SOURCE projects!

[Git] [Resolved] When using Msysgit/git/tortoisegit on a Windows system to access the repository of the GIT protocol. Git push will get stuck and not respond.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.