๊น ์ค์น ์๋ฃ ํ ์ฌ์ฉ ํ๊ฒฝ์ ์ค์
git config --global user.email "[email protected]"
git config --global user.name "Your Name"
- ๋จผ์ ์ด ์คํฐ๋ ์ ์ฅ์๋ฅผ Fork ํ ๋ค Clone
- ๋ฌธ์ ํด๊ฒฐ ์์ค์ฝ๋๋ "๋ฌธ์ ์์ด๋ช _์์ ์ด๋ฆ.ํ์ฅ์"
์ ์ฅ์ ๋ณต์

git clone (๋ณต์ฌํ์ฃผ์)
//์์
git clone https://github.com/Hanturtle/LOGO-algorithm.git
๊ธฐ์กด์ ์๊ฒฉ ๋ ํ์งํ ๋ฆฌ๋ฅผ ๋ณธ์ธ ๋ ํ์งํ ๋ฆฌ๋ก ๋ณต์
๋นจ๊ฐ๊ฑฐ ๋๋ฅด๋ฉด ๋จ
๋ก์ปฌ ์์ ์์ ํ ์ ์๋๋ก remote ์ ์ฅ์๋ฅผ ์ฐ๊ฒฐ.
- ์๊ฒฉ์ ์ฅ์ ๋ฑ๋ก ํ๋ ๋ฐฉ๋ฒ์ ๋๋ค.
git remote add (์ ์ฅ์ ๋ณ์นญ) (์ ์ฅ์ url)
git remote add 6mn12j https://github.com/6mn12j/LOGO-algorithm.git
- git remote ํ์ธ git remote ์ค์ ์ด ์ ๋๋ก ๋์๋์ง ํ์ธํ๋ ๋ฐฉ๋ฒ์ ์๋ ๋ช ๋ น์ด ์ ๋ ฅ
git remote -v
/*
origin https://github.com/Hanturtle/LOGO-algorithm.git (fetch)
origin https://github.com/Hanturtle/LOGO-algorithm.git (push)
*/
git ์ ์ฅ์ ์์ฑ
git init
git branch ์์ฑ
git branch ๋ธ๋์น์ด๋ฆ
//์์
git branch 6mn12j
git branch ์ด๋
git chekcout ์ด๋ํ ๋ธ๋์น์ด๋ฆ
//์์
git checkout 6mn12j
add
git add .
commit
git commit -m "์ปค๋ฐ ๋ฉ์์ง"
push : add๋ ๋ก์ปฌ ํ์ผ๋ค์ ์๊ฒฉ ์ ์ฅ์๋ก push
git push (์ ์ฅ์ ๋ณ์นญ) (๋ธ๋์น์ด๋ฆ)
//์์
git push origin 6mn12j
pull :ํ์ฌ ์๊ฒฉ์ ์ฅ์์ ์ปค๋ฐ์ ๋ก์ปฌ๋ก ๊ฐ์ ธ์ด
git pull (์ ์ฅ์ ๋ณ์นญ) (๋ธ๋์น์ด๋ฆ)
/*์ ๋งํ๋ฉด ์๋์ฒ๋ผ ํ๋ฉด๋จ ๋ณธ์ธ origin์ผ๋ก ๋ฑ๋ก๋ repository์ master๋ธ๋์น ์์ pull ๋ก๊น*/
git pull origin master
merge:๋ฌธ์ ํ์ด ์ฌ๋ฆฐ ํ master์์ ์ต์ข ์ผ๋ก merge
/*master ๋ก ์ด๋ ํ ํด์ผํจ git checkout master*/
git merge (์ ์ฅ์ ๋ณ์นญ) (ํฉ๋ณํ ๋ธ๋์น์ด๋ฆ)
//์์
git merge origin 6mn12j
-
์๊ธฐ๊ฐ ๋ฐํํ๋ ๋ฌธ์ ๋ ๋งํฌ๋ค์ด ํ์ผ ๋ง๋ค์ด์ ๋ฌธ์ ์ฌ๋ ค์ฃผ๊ธฐ
-
๋งํฌ๋ค์ด ํ์ผ ์์ 01: /programmers/์คํ,ํ/๋ค๋ฆฌ๋ฅผ_์ง๋๋_ํธ๋ญ/README.md
-
์ฌ์ดํธ/์นดํ ๊ณ ๋ฆฌ/๋ฌธ์ ์ด๋ฆ/๋ฌธ์ ์์ด๋ช _์์ ์ด๋ฆ.ํ์ฅ์ํ์์ผ๋ก ์ ๋ก๋ ํด์ฃผ์ธ์ -
๋ฌธ์ ์์ 01: /programmers/ํด์/์์ฅ/camouflage_6mn12j.cpp
-
๋ฌธ์ ์์ 02: /programmers/์คํ,ํ/์ฃผ์๊ฐ๊ฒฉ/stock_jiwon.py
- ํ ๋ฌธ์ ๋ฅผ ์ฌ๋ฌ๊ฐ์ง ๋ฐฉ๋ฒ์ผ๋ก ์๊ฐํด๋ณด๊ธฐ
- 30๋ถ~60๋ถ ๊น์ง ๊ณ ๋ฏผํด ๋ณธ๋ค.
- ์ด๋ ค์ฐ๋ฉด ์๋ฃจ์ ์ ์ฐพ์๋ณธ๋ค.
- ์๊ณ ๋ฆฌ์ฆ๊ณผ ํ๋ฌ์ค๋ก git ๊น์ง ์นํด์ ธ ๋ณด์ !
.png)