DevOps 12

๊นƒํ—ˆ๋ธŒ(Github)๋ฅผ ๊นƒํ—ˆ๋ธŒ ๋ฐ์Šคํฌํƒ‘์— clone(ํด๋ก ) ์‹œํ‚ค๊ธฐ

PC์—์„œ ๋ฏธ๋ฆฌ ์„ค์น˜ํ•ด์•ผ ํ•  ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜์ด๋‹ค.   https://github.com/dashboard GitHub: Let’s build from hereGitHub 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๊นƒํ—ˆ๋ธŒ์—์„œ ๊ณ„์ •์„ ์ƒ์„ฑํ•œ๋‹ค.  ๊ทธ๋ฆฌ๊ณ  ๊นƒํ—ˆ๋ธŒ์— ๋“ค์–ด๊ฐ€ ์ €์žฅ์†Œ(Repository)๋ฅผ ์ƒ์„ฑํ•œ๋‹ค์—ฌ๊ธฐ์„œ New๋ฅผ ๋ˆ„๋ฅธ๋‹ค.    ์ œ๋ชฉ์€ test์œผ๋กœ ํ•˜์˜€๊ณ  public(๊ณต๊ฐœ), Readme f..

DevOps/Github 2024.04.26

Github(๊นƒํ—ˆ๋ธŒ) ์šฉ์–ด ์ •๋ฆฌ

local repository : ๋‚ด pc์—์„œ ๊ด€๋ฆฌํ•˜๋Š” ๊นƒ(git)์ €์žฅ์†Œ  remote repository : local์ €์žฅ์†Œ๋ฅผ ์—…๋กœ๋“œํ•˜๋Š”๊ณณ ex) ๊นƒํ—ˆ๋ธŒ(github)  clone ํด๋ก  : ๋ช…๋ น์–ด๋กœ ๊ธฐ์กด ์›๊ฒฉ ์ €์žฅ์†Œ๋ฅผ ๋กœ์ปฌ์— ๋ฐ›์„์ˆ˜ ์žˆ์Œ  working directory : ์ž‘์—…์ด ์ผ์–ด๋‚˜๋Š” ํด๋”  staging area : ์ž‘์—…ํด๋”์—์„œ ๋ณ€๊ฒฝ ๋‚ด์šฉ์„ ๊ธฐ๋กํ•˜๋Š”๊ณณ  (git์ €์žฅ์†Œ์—์„œ commitํ•˜๊ธฐ ์ „์— ์˜ฌ๋ ค๋‘๋Š” ๊ณต๊ฐ„)  #status ์ปค๋ฐ‹๋œ ํŒŒ์ผ & ์Šคํ…Œ์ด์ง€์— ์žˆ๋Š” ํŒŒ์ผ : tracked ๊ทธ ์™ธ untracked  $ git status  #add ์ž‘์—…ํด๋”์—์„œ ์ž‘์—…ํ•œ ๋ณ€๊ฒฝ์„ ์Šคํ…Œ์ด์ง€์— ์˜ฌ๋ฆด๋•Œ(์ปค๋ฐ‹ํ•˜๊ธฐ ์ง์ „์—) ์‚ฌ์šฉํ•˜๋Š” ๋ช…๋ น์–ด addํ•œ ํŒŒ์ผ์ด tracked ์ƒํƒœ๊ฐ€ ๋จ(git ๊ด€๋ฆฌํ•˜๋Š” ๋Œ€์ƒ์ด ๋จ)  #comm..

DevOps/Github 2024.04.24