์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
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 |
Tags
- docker
- ์ฝ๋ฉํ ์คํธ
- ์ฐ์ํํ ํฌ์ฝ์ค 2์ฐจ
- github
- 2์ฐจ ์ฝ๋ฉํ ์คํธ
- depends_on
- AWS
- EC2
- TypeError: 'property' object is not iterable
- github skyline
- classproperty
- S3
- OperationalError
- ์ฐ์ํ ํ ํฌ์ฝ์ค 2์ฐจ ํฉ๊ฒฉ
- ํ๋ก๊ทธ๋๋จธ์ค
- docker-compose
- DB
- ์ฌ๊ทํจ์๊ฐ ๋ญ๊ฐ์
- AWS S3
- MySQL server on 'db' (115)
- METACLASS
- depends
- Django
- Spring
- python all testcode
- python
- springboot 3.0.0
- ๊ฐ์ฌ์
- javascript
- classmethod
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
