728x90 github3 [GitHub] terminal์์ git ์คํํ๊ธฐ - ์ฌ์ปค๋ฐ ํ ๊ธฐ๋ก 1. git์ ์ฌ์ฉํ ํด๋ ๊ฒฝ๋ก๋ก ํฐ๋ฏธ๋ ์ด๊ธฐ 2. git status๋ฅผ ํตํด ๋ณ๊ฒฝ์ฌํญ ํ์ธํ๊ธฐ ๋นจ๊ฐ์์ผ๋ก ํํ๋ ๊ฒ์ ์์ง add๋ฅผ ํ์ง ์์๋ค๋ ํ์ 3. git add ํด์ฃผ๊ธฐ ํ์ผ ํ๋์ฉ ์คํํ๊ธฐ ์ํด git add "file name" ์ผ๋ก ์คํ ์ด๋ก์ - commit ์ค๋น ์๋ฃ ๋นจ๊ฐ์ - add๋ ๋ ์ํ๊ฐ ์๋ = commitํ ์ ์์ 4. Commit git commit -m "python example - stack" add๋ ํ์ผ๋ง commit๋์๋ค. 5. Push git push -u origin main 2023. 3. 21. [GitHub] terminal์์ git ์คํํ๊ธฐ - first commit ๊ธฐ๋ก 1. repository ์์ฑํ๊ธฐ 2. git์ ์ฌ์ฉํ ํด๋์์ ํฐ๋ฏธ๋ ์ด๊ธฐ 3. git init ํ์ฌ ๊ฒฝ๋ก์ ๋๋ ํ ๋ฆฌ๋ฅผ git ์ ์ฅ์๋ก ์ค์ ๋ฐ ์ด๊ธฐํ ํด์ฃผ๋ ๋ช ๋ น์ด 4. git add --all git์ด ์ฌ๋ฆด ํ์ผ์ ์ถ์ ํ๊ธฐ ์ํ์ฌ commit์ ํ๊ธฐ์ ์๋ ๋ฐ๋์ add๋ฅผ ํด์ฃผ์ด์ผ ํ๋ค. ํ์ผ์ ์์ ํ๊ธด ํ์ง๋ง commitํ์ง ๋ง์์ผ ํ๋ ๊ฒฝ์ฐ์๋ add๋ฅผ ํ์ง ์์ผ๋ฉด ๋๋ค. git add . → ๋ชจ๋ ํ์ผ git์ผ๋ก ๊ด๋ฆฌ git add "file name" → ํน์ ํ์ผ๋ง ๊ด๋ฆฌ 5. git status ํ์ฌ ์ํ ํ์ธํ๋ ๋ช ๋ น์ด ์ด๋ก์ : add๋ ๋์ด์์ผ๋ commit์ ๋์ง ์์ ์ํ 6. git commit -m "commit message" 7. git remote add origin "gi.. 2023. 3. 20. [GitHub] ํ๋กํ ๋ฑ์ง icon https://simpleicons.org Simple Icons 2437 Free SVG icons for popular brands simpleicons.org ๋ฑ์ง https://shields.io Shields.io: Quality metadata badges for open source projects Love Shields? Please consider donating to sustain our activitiesYour BadgeStaticUsing dash "-" separator/badge/ - - Dashes --→- DashUnderscores __→_ Underscore_ or Space → SpaceUsing query string parameters/static/v1?l.. 2023. 2. 28. ์ด์ 1 ๋ค์ 728x90