如何使Egit记住密码和用户名? [英] How to make Egit remember password and username?

查看:228
本文介绍了如何使Egit记住密码和用户名?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Github上的Eclipse项目中工作。每次我想推,一个对话框弹出询问用户名和密码。任何人都知道如何保存这些,所以我不必一直在输入他们的每一次?我在Eclipse中使用Egit 4.2.1

解决方案

挣扎了一段时间。



1)转到Git透视图 - >展开您的项目 - >展开遥控器 - >展开要保存密码的遥控器。



2)右键单击抓取或推送 - >选择更改凭据...,

3)输入用户名和密码 - >选择Ok



这是我找到工作的解决方法。对于每个Git项目来说,这是一个有用的手册,但它可以用于^ _ ^。


I'm working onn a project in Eclipse hosted on Github. Everytime I want to push, a dialog pops up asking for username and password. Anybody know how to save these so I don't have to keep typing them in everytime? I'm using Egit in Eclipse 4.2.1

解决方案

Struggled with this for awhile to.

1) Go to the Git Perspective -> Expand your Project -> Expand Remotes -> Expand the remote you want to save your password.

2) Right-click on the Fetch or Push -> Select Change Credentials...

3) Enter username and password -> Select Ok

This is the workaround I've found to work. It's a bit manual for each Git project, but it works ^_^.

这篇关于如何使Egit记住密码和用户名?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆