๐ฉ๐ป๐ป Developer/Git
[VS Code] Mac ์์ GitHub ์ ๋ด๊ฐ ๋ง๋ ์ฝ๋ ์ฌ๋ฆฌ๊ธฐ
Junyung
2023. 12. 24. 02:30
1. GitHub ๊ณ์ ์์ฑํ๊ธฐ
GitHub: Let’s build from here
GitHub is where over 100 million developers shape the future of software, together. Contribute to the open source community, manage your Git repositories, review code like a pro, track bugs and fea...
github.com
2. Git ์ค์น
Git
git-scm.com
3. Terminal ์ด๊ธฐ
[์ ์]
git config --global user.name "๋ด ๊นํ๋ธ user ์ด๋ฆ"
git config --global user.email "๊นํ๋ธ ๊ณ์ ์์ฑํ ๋ ์ฌ์ฉํ ๋ด ์ด๋ฉ์ผ"
terminal์ ์ฐจ๋ก๋๋ก ๋ช ๋ น์ด ์ ๋ ฅํ๊ธฐ
4. vsCode ๋ด terminal ์ด๊ธฐ
git add ํ์ผ๋ช
git commit -m "ํ์ผ์ ๋ํ ๊ฐ๋จํ ์ค๋ช
๊ธ"
git push origin main
-> README.md ์์ฑ ์ดํ์๋ ์ ๋ช ๋ น์ด๋ง ์ ๋ ฅํ๋ฉด ๋๋ค!!
์ฆ, ์ด๋ฏธ ์์ฑ๋ repository์ ๋ค๋ฅธ ๊ธ commit์ ์ํ ์ ์ ์ธ๊ฐ ๋ช ๋ น์ด๋ก๋ง commitํ๊ธฐ