Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- toString#String
- variable#function
- @redux-toolkit
- react
- CSS
- 자바스크립트#JS#slice#splice
- https://www.daleseo.com/js-array-slice-splice/
- UI
- cmarket
- 내장고차함수
- removeCookie
- User Flow
- https://dasima.xyz/%EC%9E%90%EB%B0%94%EC%8A%A4%ED%81%AC%EB%A6%BD%ED%8A%B8-%EC%A0%9C%EA%B3%B1-math-pow-%EA%B3%84%EC%82%B0/
- js
- children vs childrenNodes
- redux상태유지
- Beesbeesbees
- 헷갈린다~
- UX
- JS#3일차달리자#초반인데#시간금방~
- for~in/for~of
- dom
- 자바스크립트#JS#var#let#const#undefined#null
- https://lo-victoria.com/introduction-to-redux-toolkit-for-beginners
- slice/splice/split
- ㄷㅌ
- 자바스크립트#조건문#문자열
- 노드교과서
- 자바스크립트
- https://developer-talk.tistory.com/299
Archives
- Today
- Total
Daily Front_Minhhk
[Git] ssh-key 여러개 사용 본문
깃허브 두개의 아이디로 사용해야 할 일이 생겨서 config 에 등록해서 사용
💡 ssh key 생성,, 적용 이메일 및 ssh key 이름 지정
ssh-keygen -t rsa -b 4096 -C "test@gmai.com" -f ~/.ssh/id_rsa_B
~/.ssh/id_rsa_B.pub >> github 에서 ssh-key 등록 이후
# Create the config file with Powershell
New-Item -Path $HOME\\.ssh\\config -ItemType File
# Open config File with Notepad
C:\\WINDOWS\\System32\\notepad.exe $HOME\\.ssh\\config
# or Open file with Visual Code
code $HOME\\.ssh\\config
# or Open file with Visual Code
code $HOME\\.ssh\\config
→
💡 config 파일
# A 아이디의 설정
Host github.com-A
HostName github.com
User git
IdentityFile ~/.ssh/id_rsa_A
# B 아이디의 설정
Host github.com-B
HostName github.com
User git
IdentityFile ~/.ssh/id_rsa_B
→ 사용
git init
git branch -M main
git remote add origin git@github.com-B:사용자명/레포지토리명.git
(이전 연결 있을 시)
git remote -v
git remote remove origin
'Code개발일지' 카테고리의 다른 글
[meta tag] 카카오톡 링크 공유, 이미지 메타 태그 (1) | 2024.12.08 |
---|---|
[React] 로그인 시, 유입종류 브라우저&웹&모바일 로그 남기기 (1) | 2024.12.08 |
[React] 파일 다운로드 훅_blob filedown hook (1) | 2024.12.08 |
[vercel] react-vite vercel 간단 배포 (0) | 2024.12.08 |
[next.js] react-pdf__적용 (+ zoom in/out) (0) | 2024.05.14 |