github 로그인을 한 뒤 아래 링크로 진입한다.
버튼으로 눌러서 들어간다면 프로필 > Settings > Developer settings > Personal access tokens 로 들어가면 된다.
https://github.com/settings/tokens
GitHub: Where the world builds software
GitHub is where over 83 million developers shape the future of software, together. Contribute to the open source community, manage your Git repositories, review code like a pro, track bugs and feat...
github.com
상단의 Generate new token을 누르고 들어가서 필요한 권한에 체크를 한다.
어차피 내가 쓸 토큰이라면 위험한 delete_repo 권한만 제외하고 나머지 권한을 모두 체크하면 된다
누군가에게 토큰을 줘야 한다면 필요한 권한만 부여하면 된다.
repo 권한을 제외한 나머지 권한은 추후 수정이 가능하기 때문에 조금 편안한 마음으로 체크해도 된다.
단! 토큰을 생성하고 나면 나오는 문자열은 다시 볼 수 없기 때문에 잘 저장해 둬야 한다.
이 토큰을 앞으로 password를 요구하는 외부 프로그램 등에서 github 패스워드 대신 사용하면 된다.
'개발' 카테고리의 다른 글
스레드 덤프 뜨는법 (0) | 2022.05.24 |
---|---|
timeout 테스트 할 때 사용하는 IP (0) | 2022.05.24 |
github repository를 못가져올때 - Support for password authentication was removed (0) | 2022.05.23 |
M1 맥북 (Apple Silicon) npm install시 Only Mac 64 bits supported (0) | 2022.05.23 |
gzip 압축하기, 압축 풀기 (0) | 2022.05.09 |