gitlab에 SSH Key 등록
이미 내 컴퓨터 안에서 git repository를 만들어서 commit 작업을 하고 있다가 외부의 gitlab에 push 하고 싶다면...? 먼저 내 컴퓨터에 대한 SSH Key를 등록해놔야 계속해서 작업하기에 편하다. 1. (윈도에서) Git Bash를 실행 (이미 git을 쓰고 있었으므로 당연히 설치되어있다) 2. 아래 명령으로 SSH Key를 생성한다. ssh-keygen $ ssh-keygen Generating public/private rsa key pair. Enter file in which to save the key (/c/Users/AAA/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase a..
2023.11.07