Doing Git pull through CYGWIN

830 views Asked by At

I was using Git shell for pulling data from GIT through (GIT pull) command.

But I am having some problems while pulling the data because of showing the message "as file too long".

while creating another separate clone I get the following error message:

fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.

So can we "GIT PULL" or "GIT PUSH" through cygwin and if yes can anyone share the steps ?

1

There are 1 answers

1
Adam R. Grey On

It can be done. I don't know what your issue is, but I can tell you that I can use git in cygwin just fine.

  1. install git in the cygwin setup installer
  2. setup your git config. at a minimum, that means you'll need to open a bash prompt and type:

    1. git config --global user.name [your name]
    2. git config --global user.email [your email]
  3. clone (i.e., git clone [repo])