๋ฐ์ํ
1. ํฐ๋ฏธ๋์์ ์ ๋ก๋ํ ํ๋ก์ ํธ๋ก ๊ฒฝ๋ก ๋ณ๊ฒฝ
2. ๊นํ๋ธ ํ์ผ ์์ฑํ๊ธฐ
git init
3. ํ์ฌ ํ์ผ ์ ์ฅ
git add .
git commit -m "์ปค๋ฐ ๋ฉ์ธ์ง"
4. GitHub์์ ๋ ํฌ์งํ ๋ฆฌ ์์ฑ
5. 4์์ ์์ฑํ ๋ ํฌ์งํ ๋ฆฌ๋ก ์ฐ๊ฒฐ
git remote add origin {4์์ ์์ฑํ ๋ ํฌ์งํ ๋ฆฌ ์ฃผ์}
6. ์ฐ๊ฒฐ๋ ๋ ํฌ์งํ ๋ฆฌ ํ์ธ
git remote -v
7. ์ฐ๊ฒฐ๋ ๋ ํฌ์งํ ๋ฆฌ์ ํธ์
git push
๋ฐ์ํ
'๐ETC. > โ๏ธ Tool' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[Github] remote: Repository not found. ์๋ฌ ํด๊ฒฐ (0) | 2024.08.16 |
---|---|
[Github] Git branch ๊ด๋ฆฌ (0) | 2023.06.05 |
[Github] git@github.com: Permission denied (publickey). ์๋ฌ ํด๊ฒฐ (0) | 2022.10.08 |
[Github] ๊น(git) ์ฌ์ฉํ๊ธฐ (0) | 2022.05.03 |
[Eclipse] TODO Auto-generated method stub ์ฃผ์ ์ ๊ฑฐ (0) | 2021.09.27 |