Studynote/Git, Github
[Github] Github Desktop์ ํ์ฉํ์ฌ Github ๋ธ๋ก๊ทธ ๊ธ์ฐ๊ธฐ - 1
minzhen
2022. 3. 8. 22:48
์คํฐ๋๋ฅผ ์ํด Github Blog๋ฅผ ํ์ฉํ์ฌ ์ ๋ณด๋ฅผ ๊ณต์ ํ๊ณ ๊ณต๋ถํ๊ธฐ๋ก ํ๋ค.
์ด ๊ธ์์ ์์ ์ด๋ณด์์ ์์ ์์ Github / Github Blog / Github desktop์ ๋ํด ์ ๋ฆฌํด๋๋ค. ๋ด์ฉ์ magaretjo๋์ ๋ธ๋ก๊ทธ๋ฅผ ์ฐธ๊ณ ํ์ฌ ์์ฑํ์๋ค. (๊ธ ํ๋จ์ ๋งํฌ ์ฒจ๋ถ)
Github Desktop
Github์ ์ผ์ข ์ ํตํฉ Tool
- Github์์๋ ์์ค์ add / commit / push ๋ฑ์ ์์ ์ ๋ณด๋ค ํธํ๊ฒ ํ ์ ์๋ Github DeskTop ๊ธฐ๋ฅ์ ์ ๊ณตํ๊ณ ์๋ค
- ์ฌ์ฉ์ด ์ฝ๊ณ ๋งค์ฐ ์ง๊ด์ ์ด์ด์ git ๋๋ GitHub ์ ๋ฌธ์์๊ฒ ์ ํฉํ๋ค.
Github Desktop์ ํ์ฉ
1. Github Desktop ์ค์น โ
2. ๋ก์ปฌ Repository ์์ฑ (Remote → ๋ณต์ )
- ์ผ์ชฝ ์๋จ์ "Clone a repository from the internet…"๋ฅผ ์คํํ๋ค. โ
- ๋ํ๋ ํ์ ํ๋ฉด์์ Sign-in์ ํ๋ค. โ
- ๋ณธ์ธ์ github ๊ณ์ ์ผ๋ก Sign-in์ ํ๋ฉด, ์๋ ๊ทธ๋ฆผ๊ณผ ๊ฐ์ด ์์ ์ ๊ณ์ ์ผ๋ก ์ ๊ทผ ๊ฐ๋ฅํ ๋ชจ๋ repository ๋ชฉ๋ก์ด ๋ํ๋๋ค. โ
- ์ํ๋ repository๋ฅผ ์ ํํ๊ณ , Local Path์ ๋ค์ด๋ก๋ํ ์์น๋ฅผ ์ง์ ํ๋ค. (์ด ๋, local path ๋ฐ์๋ ์๋ฌด ํ์ผ๋ ์์ด์ผ ํฉ๋๋ค.) ์ด์ Remote repository์์ Local๋ก ๋ณต์ ๊ฐ ๋ ๊ฒ์ด๋ค. โ
(์ฌ๊ธฐ๊น์ง ํ์๋ถ์ด ์งํํด์ฃผ์ จ์ง๋ง, Git ์ด๋ฉด์ธ ๋ฌด์ง๋ญ์ด๊ฐ ์ด๊ฒ์ ๊ฒ ๋ง์ ธ๋ด๋ ์ ์ ์์๊ธฐ์.. ์ฐจ๊ทผ์ฐจ๊ทผ ๊ณต๋ถํด์ผ๊ฒ ๋ค๋ ๋ง์์ ๋จน์๋ค)
3. Repository ์ถ๊ฐ
- ๋๋ค๋ฅธ repository๋ฅผ ์ถ๊ฐํ๋ค.
- ํ๋ฉด ์๋จ์ ์ผํธ์ “Current repository”๋ฅผ ํด๋ฆญํ๋ฉด ์๋์ ๊ฐ์ด ์กฐ๊ทธ๋ง “Add”๋ฒํผ์ด ๋ํ๋๋ค.
- Add ๋ฒํผ ํ์ ๋ค์ “Clone repostory …“๋ฅผ ํด๋ฆญํ๋ฉด, ๋ฐ๋ก ์ ์ ๋ณด์๋ ์๊ฒฉ repository ๋ชฉ๋ก์ด ๋ํ๋๋ค.
์ด๋ ๊ฒ ์์ฑ๋ repository๋ฅผ ํ์ฉํ์ฌ ํฌ์คํ ํ๋ ๊ณผ์ ์ ํํธ์ ์ ๋ก๋ํ๊ฒ ๋ค.
์ฐธ๊ณ ๋งํฌ
๋๋ณด๊ธฐ
magaretjo๋์ ๋ธ๋ก๊ทธ https://engineering-skcc.github.io/github%20pages/github-pages-desktop/โ