Git has a long delay between git pull and asking for password
I'm on Ubuntu 13.10 and git recently started acting strange. Whenever I do a pull or a push, there is about a 20 second delay between running the command and it asking for my password.
My remote url looks like email@example.com:/project/directory/
The problem only recently started happening. I'm not using the default git user, but a user I created on the server and added to the git group.
The repo isn't that large, and since the delay is between running the command and asking for password i'm assuming its a network issue. The server is on my work LAN so connection speed shouldn't be an issue.
Edit: Here's a screenshot. The 20s delay is between the "git pull" and "Enter Password"
FIXED As per the accepted answer, it was GSSAPIAuthentication. I simply created a ~/.ssh/config file and added:
On the server, /home/git/xxx/hooks/post-receive: #!/bin/bash cd /var/www/xxx git pull On the server, /var/www/xxx was created like this: cd /var/www git clone /home/git/repositories/xxx.git When I r
What is the difference between running git submodule update --remote vs cd <submodule directoy> git pull Assuming that the submodule was previously set to track some branch: git submodule ad
Is it possible to store a remote Git repo's user credentials on my local machine so I don't keep getting asked for them everytime I do a pull etc? thanks
I am on branch tm-skeleton and executing git pull does something (technically, it asks for password and I hit <ctrl-c> there), but how do I know where is it pulling from? Usually, [branch tm-sk
I currently have a git remote setup like the following: [remote upstream] url = <redacted> fetch = +refs/heads/*:refs/remotes/upstream/* When I issue git pull on branch master, all remote hea
The following set of commands worked correctly $ mkdir carboncake $ cd carboncake $ git init $ git remote add origin firstname.lastname@example.org:repositories/carboncake.git $ git pull But when i tried pull
Steve Losh: A Guide to Branching in Mercurial - Mercurial will push/pull all branches by default, while git will push/pull only the current branch. I wonder if my understanding is right: It occurs
What is the difference between doing: mkdir repo cd repo git init git remote add origin git://github.com/cmcculloh/repo.git git fetch --all git pull origin master and git clone git://github.com/cmccu
I'm trying to grab contents of Windows Azure SDK to my local disk. I created a folder, cdd there, ran git init, now whenever I try either of the following: git pull WindowsAzure or git pull WindowsAz
My colleague tried to do a git pull from our master. He got this error: $ git pull fatal: loose object f7630cc30248df1e19bcb40c9de1b60b71cdfce1 (stored in ./objects/f7/630cc30248df1e19bcb40c9de1b60b71
I know how to provide a username and password to an https request like this: git clone https://username:password@remote But I'd like to know how to provide a username and password to the remote like
It is NOT a duplicate of (almost;because stackoverflow wouldn't allow that)exact title Git Pull - Everything up to date, but it's not I'm missing two tags (Linux kernel v3.9-rc4 and v3.9-rc5 specific
Is there a way to hook when a git pull happens on the remote (similar to a pre-receive or post-receive). Basically I'd like to be able to cause the remote to commit whatever it has when there is a pul
I have setup a VM with multiple users. My primary users is VM-User and using that account I created another user called Joe. I have cloned a git repo by loggin into the VM-User and everything works
My origin has a fixes and a fixes_v3 branch. My client has just fixes. I do a git pull git+ssh:/.../mygitrepo and suddenly on my client I have all the fixes_v3 code in the fixes branch. Why on earth d
I am trying to create an upstart conf to both do a git pull on a local git repository and then start daemontools svscan. They nee to be done in that order because the daemon processes rely n havin
I am trying to clone a private git repository via http. There is a similar question here: Git clone using http with user and password. Is there a way to do git clone without entering a user/password
I am new to SVN but knew GIT. I read this question : How to send pull request on GIT A question, can SVN pull request same as GIT ?
I'm trying to do a git pull and I'm getting error: Your local changes to 'someDir/someFile' would be overwritten by merge. Aborting. this is fine since I need to check these changes and decide whether
I am using git GUI. How can I implement the git bash command git pull --rebase? I am going to use this command before push.
I have a git branch that continually gets 'recreated' with an alternating letter case every time I perform a 'git pull'. Assuming the branch name is 'a' (or 'A' for all I know), one 'git pull' will pr
I have git error: insufficient permission for adding an object to repository database .git/objects every time I make git pull origin develop. remote: Counting objects: 70, done. remote: Compressi
I have Cygwin, msysgit and TortoiseGit installed on my Windows machine. I am writing a script for Cygwin that does a git push to a remote machine via ssh: git push ssh://host/path/to/git master:master
I have a central git repo set up using gitolite. I want to set up a hook such that whenever a user pushes to the repo, it performs a pull elsewhere followed by some automated testing. So far, I only w
I'm trying to update a git repo from a bash script and I've run into some trouble. I can run git pull and have it work if there is no other lines or characters after the git pull but if I say have #!/
I'm trying to setup a git deploy setup, wherein I push my changes when ready to a git repo on a staging server, that then uses a post-recieve hook to deploy the code from the various branches to the a
I was getting a confusing error message after trying git pull about no matching ref spec, as if git pull origin master was asking for an invalid branch. Turns out my SSD partition was full after s
I keep getting an annoying popup that keeps asking me for a git password while accessing my git repo from another machine.I have no git password set up..Have referred various guides to setup git and h
Similar to: Git On A Keystick & GitHub Using GIT on USB stick for travelling code git: how to properly share local copy between multiple PCs Git: push-pull on working copies How to convert exis
While migrating to from bash to zsh, that changed my alias of gl from 'git log' to 'git pull'. I then ran that in my octopress blog, first on branch 'master' and then on branch 'source' Big mistake. O
I did git pull origin newbranch:newbranch ... but for some reason.. this tried merging newbranch in my origin with master in local.. and it resulted in conflict .. 1)how do i undo the half done merge?
I've got a 'git-svn' working tree. I'd like to clone a pure git repo off this, and then use git push/pull to move changes between the git-svn tree and the git tree, while also using 'git svn dcommit
I am trying to make a git pull request from the remote repo to local but it shows below error and not able to pull. Eg. git pull origin master error: The following untracked working tree files would b
I need to automatically pull down a compressed version of my repo with a python script. What would be the best way to do this? As far as I know the archive command in git does not support remote repos
I have two branches in my local git repository, master and Logging. Both branches have remotes on BitBucket. master is the main branch of the project I'm currently working on. When other developers ha
I was trying to understand the difference between the git pull and rebase, but everywhere I am finding the difference between merge and rebase. I understand the difference between merge and rebase , b
I am using msysgit client, I am able to fetch,push but when I try to pull it shows git: 'pull' is not a git command. See 'git --help'. I tried for git --exec-path and it gives C:\git-client/libexec/
After I do git pull, I want to see the revisions I just fetched in gitk. How can I do this? I know I can see what revisions to use in the output of git pull and I can give them as a parameter to gitk,
I've cloned some repository from git (dannycoates/v8-profiler) and I have a linkage error while installing it. I saw that someone submitted a pull request which suppose to fix this bug. Now I want to
I'm trying to pull from a repository which has about 10 files. On my local repository, I only have one file. When I type git pull origin master I get back Everything up to date However, I'm still m
The command I want to run is git pull origin_au a_really_long_branch_name_that_i_dont_want_to_type Is there anyway I can abbreviate the branch name?
I have a bare repository in my remote server. Files get uploaded on the remote server, now I would like to sync or pull those uploaded files to my local repository. I usually run git push website in o
I am comming from a SVN environment and I am exploring Git with TortoiseGit. When I right-click a 'checked-out' Git repository, I can perform a Git Sync command, but also a Pull command. What is the d
Is there a such thing as git pull --dry-run to see how stuff will be merged before it messes up my working tree? Right now I am doing: git fetch origin && git merge --no-commit --no-ff I did
I'm trying to pull a commit made on a Linux machine into a Windows machine. I'm getting this error message: error: git checkout-index: unable to create file my/folder/name/: (Invalid argument) On th
In Git you can clone a given directory to given directory: git clone ssh://email@example.com:3687/com/bipper/kids/portal <dir> Cause of some intricate issues with cd command when I run
Evaluate (shell-command-to-string git pull -q) in emacs *scratch* buffer hangs emacs. From htop in bash,I noticed that after the git pull process which is forked from emacs ended,there always leave
I got this error and now I'm scared. $ git pull Already up-to-date. $ git push To firstname.lastname@example.org:Unroll-Me/unrollme_thumbnail_generator.git ! [rejected] master -> master (non-fast-forward)
How do I pull from heroku? I have wordpress running in my heroku app and i changed some stuff via the template editor. I'd like to have these changes also locally. When i try to pull from heroku i get
I have a git repository that contains other git repositories. Are there commands that recursively push and/or pull for not only the meta-repository but the sub-repositories?