Git clone stuck

By using our site, you acknowledge that you have read and understand our Cookie PolicyPrivacy Policyand our Terms of Service. The dark mode beta is finally here. Change your preferences any time. Stack Overflow for Teams is a private, secure spot for you and your coworkers to find and share information. And it hangs. Also the speed for download listed freezes -- it's not like it slowly crawls down towards zero. The guy I sit next to has no issues, so it's not a router problem.

git clone stuck

We use beanstalk for our work repositories, but I have the issue from beanstalk and github although occaisonally it seems a github one will finish. The problem has only seemed to crop up since upgrading to Mountain Lion and updating Xcode.

git clone stuck

I've wiped git including XCode's and tried installing it with homebrew. That didn't work, so I removed it and tried with their provided Mac installation package which also didn't fix the issue.

VMware on NAT had this problem for me. Changing it to Bridged replicate the state fixed the issue. Try to check your network connection. Maybe there is a garbage in the routing table. Maybe broken port on your router or your computer's network interface problem.

Try to ping server from which you are cloning git repo, maybe link between your computer and this server is unstable.

Looks similar to mine problem. Git seemed to hang on fetch or push after a certain short amount of time. I have a MBP with also mountain lion.Join the community to find out what other Atlassian users are discussing, debating and creating. My internet connection is average and so I'd usually chalk this up to a large repo I don't have access to check the repo size in BitBucket but I'm cloning an organization's entire website, so I assume it's quite large. Apparently there's no way to accurately check the progress of a clone, but this seems like an abnormally long time.

Apparently it was an issue with SSH. After about 2. It worked fine. You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.

Then I tried cloning with Git Bash a text-command tooland it showed progress was slow but steady. The problem is that SourceTree's progress bar is completely useless, since it doesn't actually show progress. Additionally, the "Show full output" checkbox also does not show full output. So it's impossible to know if anything is happening. This definitely seems to be a problem with Bitbucket's SSH implementation. Now with Gitlab or Github offering private repos, it may not be work keeping code in Bitbucket with fundamental problems like this.

I had to use Tortoise Git to see the progress in byte transfer to know whether actually something is happening when cloning. It's a platform release, one th You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events. Atlassian Community logo Explore. Create Ask the community. Ask a question Get answers to your question from experts in the community. Start a discussion Share a use case, discuss your favorite features, or get input from the community.

Turn on suggestions. Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type. Showing results for. Search instead for.

Sheepadoodle south dakota

Did you mean:. Products Jira. Jira Service Desk. Product apps. Interests Feedback Forum. Team Playbook. Training and Certification icon. Atlassian Cloud Migrations. It's not the same without you Join the community to find out what other Atlassian users are discussing, debating and creating.By using our site, you acknowledge that you have read and understand our Cookie PolicyPrivacy Policyand our Terms of Service.

Stack Overflow for Teams is a private, secure spot for you and your coworkers to find and share information. I'm trying to do a git pull from a remote repository in github into a local machine I had the same problem when I git pull a repository on github.

Ue4 add component to actor blueprint

I found there were some large files and the connection to github was slow. So maybe you just have to wait patiently before git pulls the whole repository. For me the solution was to change protocol specifier from https to git, e.

GIT stops after unpacking objects or resolving deltas

Edit: Here's something about the protocols used in Git. Some highlights: The downside of the Git protocol is the lack of authentication. I find that large binary objects like Adobe Illustrator files, etc. With Git 2. Merged by Junio C Hamano -- gitster -- in commit cf91c3105 Dec I just stared at a seemingly stuck progress line for over half a minute, while ' git fetch ' was busy receiving a pack with only a couple of objects i.

Display throughput in ' git unpack-objects ' progress line, so we show that something is going on even when receiving and processing a large object.

Counting the consumed bytes is far away from the place that counts objects and displays progress, and to pass around the ' struct progress ' instance we would have to modify the signature of five functions and 14 of their callsites: this is just too much churn, so let's rather make it file-scope static.

How are we doing? Please help us improve Stack Overflow. Take our short survey.

Eventi a chiamata

Learn more. Asked 8 years, 6 months ago.

git clone stuck

Active 3 months ago. Viewed 35k times. Krunal Sonparate 4 4 silver badges 17 17 bronze badges. Even though you are using ssh, try stackoverflow. It more likely that the host hang up on that, perhaps you could try doing git clone --depth 1. Quite offen having a better internet connection helps a lot, e. Don't commit binary files to git. Git is purely for version control.By using our site, you acknowledge that you have read and understand our Cookie PolicyPrivacy Policyand our Terms of Service.

Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up. Maybe you can help me out. I have a server which I'm accessing thru a SSH tunnel.

On this server, I want to clone a git repo from bitbucket, but bitbucket uses Port 22 as well, I assume. So how can I clone the repo to my server using another port? When I try to clone a repo on the server, the program gets stuck at "Cloning into repository After some googling, I found out that the connection to the repo server is "broken".

So this is my guess why - I'm connecting to it using SSH.

Sd card test apk

Run ssh -vv git bitbucket. In my case the ssh client was trying to connect to bitbucket's IPv6 address but obviously the world is not yet ready. I had the same problem, then I figured out I was cloning a repo into a cifs shared volume mounted on my linux server and that was my problem. I solved using a nfs volume instead! Sign up to join this community. The best answers are voted up and rise to the top. Home Questions Tags Users Unanswered.

Pyrantel pamoate dosage chart for puppies

Asked 7 years, 1 month ago. Active 10 months ago. Viewed 11k times. It gets stuck after "Cloning into dev" Am I correct in understanding you're opening an SSH connection to a machine, let's say MachineA, and from that machine, you're issuing a git clone git bitbucket. If that's the case, this doesn't sound like a port issue an outbound connection will go out using a free, 'random' port, and connect to remote port 22 - your local port 22 isn't used for outgoing.

Also, the fact that you're seeing this when attempting to clone over HTTPS indicates this is not a port issue. Can we see the full console output when you run your git command? See the update above for the console output! What's the https output? Have you exchanged identities? There's a good tutorial on setting up the connection.

Git Part 2: How to clone GitHub Repository using SSH URL (git clone)

Active Oldest Votes. JakeGould After the clone, a plain git fetch without arguments will update all the remote-tracking branches, and a git pull without arguments will in addition merge the remote master branch into the current master branch, if any this is untrue when "--single-branch" is given; see below.

When the repository to clone from is on a local machine, this flag bypasses the normal "Git aware" transport mechanism and clones the repository by making a copy of HEAD and everything under objects and refs directories. The files under.

git clone stuck

If the repository is specified as a local path e. If the repository is specified as a URL, then this flag is ignored and we never use the local optimizations. Force the cloning process from a repository on a local filesystem to copy the files under the. This may be desirable if you are trying to make a back-up of your repository. When the repository to clone is on the local machine, instead of using hard links, automatically setup.

The resulting repository starts out without any object of its own. NOTE : this is a possibly dangerous operation; do not use it unless you understand what it does. If you clone your repository using this option and then delete branches or use any other Git command that makes any existing commit unreferenced in the source repository, some objects may become unreferenced or dangling.

These objects may be removed by normal Git operations such as git commit which automatically call git gc --auto. See git-gc[1]. If these objects are removed and were referenced by the cloned repository, then the cloned repository will become corrupt.

Note that running git repack without the --local option in a repository cloned with --shared will copy objects from the source repository into a pack in the cloned repository, removing the disk space savings of clone --shared. It is safe, however, to run git gcwhich uses the --local option by default. If you want to break the dependency of a repository cloned with --shared on its source repository, you can simply run git repack -a to copy all objects from the source repository into a pack in the cloned repository.

If the reference repository is on the local machine, automatically setup. Using an already existing repository as an alternate will require fewer objects to be copied from the repository being cloned, reducing network and local storage costs.

Cloning specific folders from git

When using the --reference-if-ablea non existing directory is skipped with a warning instead of aborting the clone. Borrow the objects from reference repositories specified with the --reference options only to reduce network transfer, and stop borrowing from them after a clone is made by making necessary local copies of borrowed objects.

Progress status is reported on the standard error stream by default when it is attached to a terminal, unless --quiet is specified.By using our site, you acknowledge that you have read and understand our Cookie PolicyPrivacy Policyand our Terms of Service. The dark mode beta is finally here. Change your preferences any time. Stack Overflow for Teams is a private, secure spot for you and your coworkers to find and share information.

When I follow point 5 Test everything out in the github guidethe ssh command also hangs forever. According to the guide, I should be presented with a message that "Github does not provide shell access". Below is my output from ssh -vT git github. GitHub offers a few different ways to connect to the remote repo. I am behind an onerous firewall. All methods also hang except using http not https.

I think I found the error. After trying another internet connection, it went smooth. I have contacted the internet supplier to look into this. If they prove it has nothing to do with their router I will post it here. In my case port 22 was being blocked by a firewall, cloning via https may not work if you have 2-factor authentication enabled.

Subscribe to RSS

Instead edit your. In your terminal:. I had the same issue on Xubuntu. Doing ssh -Tv git github. Disabling the firewall with sudo ufw disable solved the problem. Seems to be something with the router. I pinged github. In my case I found that my Anti-Virus was blocking access to Github. The popup appeared behind all my windows which I did not realize earlier.

The moment I allowed access to GitHub "ssh -vT git github. I was also able to clone a repository and push my code from local to Github. Learn more. Asked 8 years, 3 months ago. Active 7 months ago. Viewed 82k times. Authenticated to github. Out of curiosity, are you able to connect to other SSH servers using keys without issues? I also thought it may be filtering but notice the auth succeeds, if it were a firewall it would timeout eventually before that.

Active Oldest Votes.By using our site, you acknowledge that you have read and understand our Cookie PolicyPrivacy Policyand our Terms of Service.

Stack Overflow for Teams is a private, secure spot for you and your coworkers to find and share information.

Using withrouter with typescript

And it hangs. Also the speed for download listed freezes -- it's not like it slowly crawls down towards zero. The guy I sit next to has no issues, so it's not a router problem. We use beanstalk for our work repositories, but I have the issue from beanstalk and github although occaisonally it seems a github one will finish.

The problem has only seemed to crop up since upgrading to Mountain Lion and updating Xcode. I've wiped git including XCode's and tried installing it with homebrew. That didn't work, so I removed it and tried with their provided Mac installation package which also didn't fix the issue. VMware on NAT had this problem for me. Changing it to Bridged replicate the state fixed the issue.

Try to check your network connection. Maybe there is a garbage in the routing table. Maybe broken port on your router or your computer's network interface problem. Try to ping server from which you are cloning git repo, maybe link between your computer and this server is unstable. Looks similar to mine problem. Git seemed to hang on fetch or push after a certain short amount of time. I have a MBP with also mountain lion.

I hope this timeout is the cause for your problem. After thirty or forty minutes or so, I noticed that it continued.