์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
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 | 29 | 30 | 31 |
Tags
- classmethod
- springboot 3.0.0
- depends_on
- TypeError: 'property' object is not iterable
- DB
- ํ๋ก๊ทธ๋๋จธ์ค
- ์ฝ๋ฉํ ์คํธ
- EC2
- MySQL server on 'db' (115)
- ๊ฐ์ฌ์
- python all testcode
- ์ฐ์ํ ํ ํฌ์ฝ์ค 2์ฐจ ํฉ๊ฒฉ
- docker-compose
- depends
- AWS S3
- classproperty
- Django
- OperationalError
- docker
- github
- github skyline
- AWS
- S3
- 2์ฐจ ์ฝ๋ฉํ ์คํธ
- METACLASS
- ์ฐ์ํํ ํฌ์ฝ์ค 2์ฐจ
- ์ฌ๊ทํจ์๊ฐ ๋ญ๊ฐ์
- python
- Spring
- javascript
Archives
hanbin.dev
git ๋ก๊ทธ์ธ ์์ด ์ฌ์ฉํ๊ธฐ ๋ณธ๋ฌธ
๐ก pull, push ํ ๋๋ง๋ค ๋ก๊ทธ์ธํ๊ธฐ ๋ฒ๊ฑฐ๋กญ๊ธฐ ๋๋ฌธ์, ssh agent๋ฅผ ์ค์ ํด๋์
ssh key ์์ฑ
ssh-keygen -t rsa -b 4096 -C "๋ณธ์ธ gitlab email"
# id_rsa ์ด๋ฆ ์ค์ (id_gitlab)
# ์ดํ๋ก ๋ญ๋ผ ๋์ค๋๋ฐ ๋ฌด์ํ๊ณ ์ํฐ
ssh agent ํ์ฑํ
eval "$(ssh-agent -s)"
ssh agent์ ssh key ๋ฑ๋ก
ssh-add ~/.ssh/id_gitlab
remote branch ssh ํ๋กํ ์ฝ๋ก ์ง์
# ๊ธฐ์กด remote ์ญ์
git remote rm origin
# ssh ํ๋กํ ์ฝ origin ์์ฑ
git remote add origin ssh://git@git.elicer.io:2201/elice/backend/elice-api.git
Gitlab์ ssh key ๋ฑ๋ก
cat ~/.ssh/id_gitlab
# ๊ฒฐ๊ณผ ๊ฐ ๋ณต์ฌ
์์์ ๋ณต์ฌํ ๊ฒฐ๊ณผ ๊ฐ ๋ถ์ฌ๋ฃ๊ธฐ ํ Add Key