๋ฐ์ํ
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 | 29 | 30 |
31 |
Tags
- ํ๋ก๊ทธ๋๋จธ์ค
- dacon
- ๋ฐฑ์ค
- ์ต์
- mysql
- Do_it
- ์ง ๊ฐ ์์ธก ๋ถ์
- ์ฐธ์กฐ ๋ณ์
- np.zeros_like
- MacOS
- jdbc
- ๋ธ๋ผ์ฐ์ ์คํ
- DFS
- BFS
- sql
- ์๋ฐ
- ์์ด
- PYTHON
- ์ด์ง์ ๋ณํ
- ๋ค์ต์คํธ๋ผ ์๊ณ ๋ฆฌ์ฆ
- Extended Slices
- 2BPerfect
- ์ ํ ํฌ ํ์ด์ฌ
- ํ์ ๋ณ์
- ๋ฐ์ค๊ทธ๋ํ
- java
- ์ด๊ฒ์ด ์ทจ์ ์ ์ํ ์ฝ๋ฉํ ์คํธ๋ค
- Do it
- ํฉํ ๋ฆฌ์ผ ์ง๋ฒ
- matplotlib
Archives
- Today
- Total
๐ฆ ๊ณต๋ฃก์ด ๋์!
์ด๋ณด๋ค์ ์ํ ๊ฐ๋จํ Git ์ฌ์ฉ๋ฒ ๋ณธ๋ฌธ
1. Github์์ ์ ๋ก๋ ์ํฌ repo๋ฅผ ๋จผ์ ๋ง๋ ํ
2. ๋ก์ปฌ ์ปดํจํฐ์ ์ ๋ก๋ ์ํฌ ํ์ผ์ ์์ฑํ๋ค.
3. ํฐ๋ฏธ๋ ๋๋ iterm์ ์คํ์ํจ ์ดํ
4. ํด๋น ๋ช ๋ น์ด๋ฅผ ํตํด ํ์ฌ ์์น๋ฅผ ํ์ธ
pwdโ
5. ํด๋น ํ์ผ๋ก ์ด๋ํ ๋ค
cd ์
๋ก๋ ์ํฌ ํ์ผ๋ช
6. ํ๊ธฐ ๋ด์ฉ์ ์ฝ๋๋ฅผ ์์ฑํ๋ค.
echo "# repo ์ด๋ฆ" >> README.md
(์ด๊ฒ์ ์
๋ก๋ ์ํฌ ํ์ผ์ ์ค๋ช
๋ฌธ์ ์์ฑํ๋ ๊ฒ)
git init
(์
๋ก๋ ํ ๊ณณ์ ์ ํ๋ ๊ฒ)
git add README.md
(stage์ํจ๋ค)
git commit -m "์ปค๋ฐ ๋ฉํธ ์์ฑ"
(ํฐ ๋ฐ์ดํ ์์ ์ฒซ ์ปค๋ฐ ๋ฉํธ๋ฅผ ์์ฑํ๋ค)
git branch -M main
git remote add origin https://github.com/OOOOO/์
๋ก๋ํ repo.git
(origin ๋ค์ ๋์ค๋ ์ฃผ์๋ ์์ ์ด github์์ ๋ง๋ Repo์ ์ฃผ์์ด๋ค.)
git push -u origin main
(์
๋ก๋)
- ์์ ๋ด์ฉ์ github์์ repo๋ฅผ ๋ง๋ค๋ฉด ์๊ฐํ๋ git command line์ด๋ค.
ํน์ ์ฃผ์๋ฅผ ์๋ชป ์ ๋ ฅํ์๋ค๋ฉด ํ๊ธฐ ๋ด์ฉ์ ์ฐธ๊ณ ํ๋ฉด ๋๊ฒ ๋ค.
๋๋ณด๊ธฐ
git remote remove origin
git remote remove upstream
(ํ์๋ ์๋๋ค. ์๋ฃ๋์ง ์๋ ๊ฒฝ์ฐ ๋์ด๊ฐ๋ ๋ฌด๋ฐฉํ๋ค.)
git remote add origin https://github.com/OOOO/์
๋ก๋ํ repo.git
git remote -v
(์ด๊ฒ์ ํตํด repo์ฃผ์๋ฅผ ํ์ธํ ์ ์๋ค.)
๋ฐ์ํ
Comments