๋ชฉ๋ก2022/03/06 (1)
whatisthis?
git. GitHub (Bash) ํด๋ ์ ์ฒด ์
๋ก๋
ํด๋ Add - Commit - Push ํ๊ธฐ ๋ช ๋ น์ด ์์: $ git status $ git add ํด๋ ์ด๋ฆ $ git commit -m "์ปค๋ฐ ๋ก๊ทธ" $ git remote -v $ git push origin main 1. git status ๋ช ๋ น์ด๋ก working directory ์ํ ํ์ธ 2. git add ๋ช ๋ น์ด๋ก staging area๋ก ํด๋ ์ด๋ 3. git commit๊ณผ git push ๋ช ๋ น์ด๋ก commitํ ์ฌํญ์ repository๋ก ์ต์ข ์ ๋ก๋ ํ์ผ๊ณผ ๋ฌ๋ฆฌ ์ถ๊ฐ๋๋ ์ ์ด ์๋ค๋ฉด 4๋ฒ์งธ ๋ผ์ธ์ "git remote -v" ๋ผ๋ ๋ช ๋ น์ด์. ์ ๋ก๋ ํ๋ ค๋ ํด๋์ ์์ํด๋์ git์ด ์ฐ๊ฒฐ(.git ํด๋๊ฐ ์์)๋ผ์๊ธฐ ๋๋ฌธ์ ํด๋น ๋ช ๋ น์ด๋ฅผ ์ด์ฉํด ๋ด github repository(์๊ฒฉ ..
WEB STUDY/ETC.
2022. 3. 6. 11:09