MapleStory Finger Point

๐ŸŸ  Git

[Git] ์‹œ์ž‘ํ•˜๊ธฐ (์ดˆ๊ธฐ ์„ธํŒ…, ๊นƒํ—ˆ๋ธŒ ์—ฐ๊ฒฐ)

HYEJU01 2024. 6. 12. 09:35

 

  • ๊นƒ ์—ด๊ธฐ

์‹œ์ž‘ํ•˜๋ ค๋Š” ํด๋”์—์„œ ์šฐํด๋ฆญ > Open Git Bash here 

 

  • ๊นƒ ์‹œ์ž‘ํ•˜๊ธฐ
$ git init

 

 

  • ๊นƒ ์ดˆ๊ธฐ ์„ธํŒ… 
$ git config --global user.name "๋ณธ์ธ์ด๋ฆ„์˜์–ด"
$ git config --global user.name ๋ณธ์ธ์ด๋ฉ”์ผ


$ git config --list



  • ๊นƒํ—ˆ๋ธŒ ํšŒ์›๊ฐ€์ž…

https://github.com/

 

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

 

 

 

 

  • ๊นƒํ—ˆ๋ธŒ ์—ฐ๊ฒฐํ•˜๊ธฐ
$ git remote add origin ๋ณธ์ธ๊นƒ๊ณ„์ • // ์›๊ฒฉ์ €์žฅ์†Œ ์ถ”๊ฐ€
$ git push origin master // ์›๊ฒฉ์ €์žฅ์†Œ์— ์ €์žฅ

 

// ํด๋” ์•ˆ์—์„œ git bash ์‹คํ–‰

$ git config --global user.name " "
$ git config --global user.email " "
$ git init
$ git add .(๋ชจ๋“ ํŒŒ์ผ) // git add ํŒŒ์ผ์ด๋ฆ„.ํŒŒ์ผํ˜•์‹
$ git status
$ git commit -m " "
$ git remote add origin (๋ณธ์ธ๊นƒํ—ˆ๋ธŒ ํ”„๋กœ์ ํŠธ๋งํฌ)
$ git push -u origin master



 

 

  • ์—๋Ÿฌ :: ์ปดํ“จํ„ฐ์— ๋‹ค๋ฅธ ๊นƒ ๊ณ„์ • ์‚ฌ์šฉํ•˜๋˜ ๊ฒฝ์šฐ

window์ž๊ฒฉ์ฆ๋ช…๊ด€๋ฆฌ >  ๊นƒ๊ด€๋ จ์ž๊ฒฉ์ฆ๋ช…๊ด€๋ฆฌ๋ฅผ ์‚ญ์ œํ•œ๋‹ค.

 

 

 

*** git ์ž๋™ ์—…๋กœ๋“œ ํ”„๋กœ๊ทธ๋žจ ***

https://hyejux.tistory.com/659

 

[Git] ์ž๋™ push.exe

git init ๊ณผ ์›๊ฒฉ ๋ ˆํฌ์ง€ํ† ๋ฆฌ๊ฐ€ ์—ฐ๊ฒฐ ๋˜์–ด์—ˆ๋Š” ์ƒํƒœ์—์„œ ์•ˆ์— ๋ฐฐ์น˜ํŒŒ์ผ ๋ˆ„๋ฅด์‹œ๋ฉด ์ž๋™์œผ๋กœ ํ‘ธ์‰ฌ๋œ๋‹ค.!   *** ์ˆ˜๋™ ์—…๋กœ๋“œํ•˜๊ธฐ Open Git Bash here  ๊นƒ ์‹œ์ž‘ํ•˜๊ธฐ$ git init  ๊นƒ ์ดˆ๊ธฐ ์„ธํŒ… $ git config --globa

hyejux.tistory.com