I've just installed ST on windows and created a bookmark from a local repository. It connects to github fine, as I can see other team members changes showing up. I setup gitflow from within ST.
It might show something like my branch is 3 commits behind the github tracking branch, with a "3" next to the pull icon. If I pull, or fetch, it just sits there with the progress bar going and going, but nothing happens. If I switch to gitgui that came with git/windows, it pulls in like .5 seconds.
I've updated git itself to 1.9.5 from 1.9.4, uninstalled ST, reinstalled, etc. but the same thing happens.
It just says "Fetching all" and when I click the Show Full Output box, it says "git -c diff.mnemonicprefix=false -c core.quotepath=false fetch --tags github"
The same thing happens when trying to push. It just sits there with the progressbar spinning.
So I don't know why this isn't working, since it's connecting to github and showing all branches, etc. I just can't do anything else it seems.
The thing is, it should all work or not work. Like I can view the repository just fine. If there was a key issue it seems I shouldn't even be able to do that. It just doesn't make sense that I can view commits, etc, but not push/pull/fetch/etc. It's obviously doing some sort of (successful) polling because when someone else pushes to the repo it just shows up in ST.
Ugh, I just noticed that I WAS using SSH for the bookmark created from a local copy. I was using Putty Pageant with regular git for the ssh keys. So I take it I have to use the built in ssh agent for the key?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I use SourceTree with Pageant, so you should be able to get that to work. I'm not sure what's necessary offhand - it's been too long.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your reply
The config that DOESN'T work (from Add Working Copy)
[core] repositoryformatversion = 0 filemode = false bare = false logallrefupdates = true symlinks = false ignorecase = true hideDotFiles = dotGitOnly [remote "github"] url = git@github.com:ACCOUNT/REPO-NAME.git fetch = +refs/heads/*:refs/remotes/github/* [gui] wmstate = normal geometry = 1336x695+304+160 378 307 [merge] summary = true [gitflow "branch"] master = master develop = develop [gitflow "prefix"] feature = feature/ release = release/ hotfix = hotfix/ support = support/ versiontag = [branch "develop"] remote = github merge = refs/heads/develop
The one that works (clone from GitHub)
[core] repositoryformatversion = 0 filemode = false bare = false logallrefupdates = true symlinks = false ignorecase = true hideDotFiles = dotGitOnly [remote "origin"] url = https://github.com/ACCOUNT/REPO-NAME.git fetch = +refs/heads/*:refs/remotes/origin/* [branch "master"] remote = origin merge = refs/heads/master [gitflow "branch"] master = master develop = develop [branch "develop"] remote = origin merge = refs/heads/develop [gitflow "prefix"] feature = feature/ release = release/ hotfix = hotfix/ support = support/ versiontag =
I've just masked the github user ACCOUNT and the REPO-NAME, but they are identical in both.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Is it possible you are using SSH to connect to the repo but the SSH agent isn't running?
Try Tools/Launch SSH Agent.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, I'm using https to connect. As a test, I cloned the repo from github and it worked fine. It just doesn't work when creating a bookmark from File->Clone/New->Add Working Copy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You might compare the repository configs between the repo you cloned directly from github and the existing one.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, I do. I also just tried using Embedded Git, but with the same result. Both are using Git 1.9.5.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sounds like you are maintaining your own git installation. Do you have SourceTree set to use "system git"?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.