Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[egit-dev] Unable to get egit to use github PAT automatically
  • From: "KARR, DAVID" <dk068x@xxxxxxx>
  • Date: Mon, 10 Feb 2025 22:32:36 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=att.com; dmarc=pass action=none header.from=att.com; dkim=pass header.d=att.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ngaqQ+alNxcw4s4eFh6VRfhl/wg/qqQOAnZEfnKenkY=; b=Ohs8wYEhtBbbStVt8rpRo55GMhBkou1qdSZ4nN7Qcbg1HVVL4EH2ZlYOJwutVTnHJoIE0ya250hFXU0L/6FYWjF83eOGqJ0VwNKcihH/z+QQqAVjFmYBsCDjh4ZRfQbalZr1Idy42DluJxJ1JlJ+wWQOU3GdrheDfq9/DGqd5sBdoyqFQO8fVoxniLMllozmgJy4LM59fINIKxfRPu86WzJM5rwKSzTUntlI9u5c/MVjSZZdSNM84yzZVc57dEIhWgedjU5UTuntuoRQjn3Srs+6RnjEZFgKeaAY/sJRsLR5NIvHhMLBSCINn1bicPTtPfi6K8jKr8vQyZcI+11wzg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=G0hxJBIBox2h4KJzkxAqOfguHJ9EzuYMR4XZb9Zsv8mpaTBTtiQ5L27A9HI+nTahKM8jZMn6knSUBp8rMJ+XrkccJ5WKXz5PzmtSgy7JjK6aofAJNP68rcLEt56r8I159m4FcBfKXyNbcIFuQ1LnWJli6tPlpt8TUk5eNSjHC0DWVQVKkROsR35QoMQ3+gbbBVIomNRGTqzbcEBftjHgNJvlQ9wxrXVMUQVz7RbG8P5nbwQbAVWYeoQntSmsqfdT9Lk8cTrmFKNoQFnv6A/cjInkOHOdEkQvoaPly+xP+OxcNt/IPbu33wi+h8q2Ook01uLpU0EG1SI2RWkQtmpaYQ==
  • Delivered-to: egit-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/egit-dev/>
  • List-help: <mailto:egit-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/egit-dev>, <mailto:egit-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/egit-dev>, <mailto:egit-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: Adt8COUhoew0hYUnQRKHiq5TGp4SPg==
  • Thread-topic: Unable to get egit to use github PAT automatically

I've been using Eclipse/egit to work with our local BitBucket server for quite some time.  We're now moving repositories to Github. I have a PAT. I'm able to get this to work with git command line, and with vscode.  However, when I try to do any operation in Eclipse (2024-12), it prompts me for my username/password.  I can get past this by entering my github username and the PAT, but I shouldn't have to do this.  When I perform a git operation on the command line, it gives me the little "Connect to Github" dialog, and I "Sign in with my browser", and that works. I'm also looking at how this can be cached, so I don't have to even do that every time, but this is better than having to enter my credentials each time.

I installed "git-credential-manager" (https://github.com/git-ecosystem/git-credential-manager), and my .gitconfig has a "[credential]" block with a "helper" property pointing to "git-credential-manager.exe".  I also have two "named" credential blocks, one for our bitbucket server, and one for an azure server, neither of which sets a helper property.  This is working fine from Cygwin git.


Back to the top