Intellij IDEA 14에서 원격 저장소 자격 증명 (인증) 변경
최근 보안상의 이유로 Bitbucket 비밀번호를 변경했습니다. 그러나 IntelliJ는 내 리포지토리를 새로운 자격 증명으로 업데이트하지 않았으므로 내 리포지토리로 아무것도 가져 오지 못합니다. 나는 이것을 위해 플러그인을 사용하지 않고 IDE 내부의 통합 VCS 작업 만 사용합니다.
내가 당길 때마다, 이것은 튀어 나옵니다.
치명적 : ' https : // momothereal : xxxxxxxxxxxx@bitbucket.org/team/repo.git/에 대한 인증 실패
여기서 xxxxxxxxxxxx 는 이전 비밀번호입니다. 올바른 비밀번호로이 원격 주소를 변경하면 문제를 해결할 수 있다고 생각합니다.
위의 모든 방법 중 가장 쉬운 방법은 다음과 같습니다.
- 설정 >> 모양 및 동작 >> 시스템 설정 >> 암호로 이동
- 비밀번호를 전혀 저장하지 않도록 설정 변경
- IntelliJ 무효화 및 재시작
- Settings >> Version Control >> Git >> SSH executable : Build-in으로 이동하십시오.
- 페치 / 풀 작업 수행
- 프롬프트가 표시되면 비밀번호를 입력하십시오
- 다시 Settings >> Appearance & Behavior >> System Settings >> Passwords로 이동하십시오.
- 이번에는 디스크에 비밀번호 저장을 선택합니다 (마스터 비밀번호로 보호됨)
짜잔!
비밀번호가 URL 자체에있는 경우 작동하지 않습니다. 그런 경우는 다음의 경우는 @moleksyuk에 의해 주어진 단계를 수행 할 필요가 여기를
몇 가지 답변을 시도한 후 마침내이 문제를 해결할 수있었습니다 (창 10).
>git fetch
remote: HTTP Basic: Access denied
fatal: Authentication failed for 'http://gitlab.abc.net/V4/VH.git/'
Git Credential Manger for Windows (GCM)에 저장된 비밀번호를 업데이트하면,
Control Panel->User Accounts -> Windows Credentials
비밀번호를 지우는 옵션이 있습니다
Linux 사용자 ( 우분투 14.04에서 테스트 )
기본적으로 (linux 및 mac에서) pycharm은 OS의 암호 관리자를 사용합니다. 우분투에서 암호에 액세스하려면 "암호 및 키"프로그램을 엽니 다.
"아이디어"에서 필터를 열고 관련 비밀번호를 편집하십시오.
pycharm을 다시 시작할 필요가 없습니다.
pycharm 17.2 사용
이것은 Intellij 12에서 나를 위해 일했습니다.
설정-> 비밀번호를 열고 "비밀번호를 기억하지 않음"을 선택한 다음 적용 / 확인하십시오.
VCS 가져 오기 / 업데이트 / 푸시 / 무엇을 하든지 비밀번호를 요구해야합니다.
암호를 기억하고 확인하십시오. VCS 작업을 올바르게 수행해야합니다.
설정-> 비밀번호로 돌아가서 "디스크에 기억"으로 다시 전환 한 다음 적용 / 확인하십시오.
- [project] /. git 디렉토리로 이동하십시오.
- 'config'파일 편집을 위해 엽니 다.
- '[remote "origin"]'섹션에서 'url'속성을 찾고 이전 비밀번호를 새 비밀번호로 바꿉니다.
- Press Ctrl+T in Intellij IDEA to update project.
In Intellinj IDEA 14, we can change the Git password by the following steps:
From the menu bar :
Select File -> Settings -> Appearance & Behavior -> System Settings .
Choose Passwords.
Click the 'Master Password' under 'Disk storage protection'.
In the Password field, enter your
old password
. Enter yournew password
in the subsequent fields.Now the master password will be changed.
For the record, if you've already configured Git on your terminal, there's an option in preferences to use native Git rather than the built-in (bundled) one.
For Mac users this could also be helpful:
Credentials are stored in Keychain Access.app. You can just change them there.
Go to VCS>Git>Remotes then remove your remote url from the list and add again. Git will ask for a password after next git operation (push, pull, etc). NOTE: Don't forget to specify username in url or you will get auth error.
I needed to change my user name and password in Intellij Did it by
preferences -> version control -> GitHub
There you can change user name and password.
For Mac User Please Go to As Below:
(First of all you must have installed bitbucket plugin)
Android Studio -> Preference -> Other Settings -> Bitbucket
Now change your password and click on Test for verify it. Will also able to add SSH Key for login.
Also its depend on which plugin you used. Some have direct like
Android Studio -> Preference -> Bitbucket linky
In my case, I got a CAPTCHA error. If you get that, first logout/login to Bitbucket, Github, .... on the website and enter the required captcha.
After that, try again from intellij and it should prompt for another password.
This is how I solved it on Windows. I have git installed separately, and Idea just picks git's options automatically (Default Idea config, as I would get from clean installer).
Open the project in the command line. Make some changes there. And commit and push files via git which is installed on my machine. During push it will open a windows asking me to enter username and password. After that, when I make a commit-push from idea, it will simply work.
For MACOS users
if you see credentials failed but you are sure that is is working previously then:
probably you made a software update to the system. System uses git bundled with xcode. its better to open Xcode and click install extra components on startup of xcode. it will say installing components. when you accept the license agreement if will start working again.
in short:
open Xcode, install additional ompoenents. accept user licence agreement
None of above worked for me. Using Android Studio 3.5 Beta 4. I even selected "do not save, forget passwords after restart" in file>settings>appearance & behavior>System settings>password
So What I did.
VCS>git>remotes
- remove the repo and add again.
- will ask for credentials.
- then try git fetch in terminal.
- Will prompt for password.
- Issue fixed. :D
IN Android Studio 2.3
- Open Setting (CTRL+ALT+S)
- Select Other Settings (at the end)
- select Bitbucket
여기에서 새 비밀번호 또는 사용자를 변경할 수 있습니다
'development' 카테고리의 다른 글
EditText를 읽기 전용으로 설정 (0) | 2020.07.30 |
---|---|
FlowLayout으로 UICollectionView의 높이를 결정하는 방법 (0) | 2020.07.30 |
스칼라에서 Java 컬렉션을 반복 (0) | 2020.07.30 |
Heroku 푸시 거부, 시더 지원 앱이 감지되지 않음 (0) | 2020.07.30 |
C #에서 DateTime을 확인하는 방법? (0) | 2020.07.30 |