Computer Science

[Git ํด๋” ์ƒ์„ฑ] github์—์„œ ํด๋” ์ƒ์„ฑํ•˜๋Š” ๋ฐฉ๋ฒ•

_cactus 2021. 4. 20. 09:50
๋ฐ˜์‘ํ˜•

git web browser interface๋ฅผ ํ†ตํ•ด repository์•ˆ์— ์ƒˆ๋กœ์šด ํด๋”๋ฅผ ์ƒ์„ฑํ•˜๋Š” ๋ฐฉ๋ฒ•

1. ์šฐ์ธก ์ƒ๋‹จ์— Add file ํด๋ฆญ > Create new file ํด๋ฆญ

 

2. '/' ๊ตฌ๋ถ„์ž๋ฅผ ์ด์šฉํ•ด ํด๋”์ด๋ฆ„, ํŒŒ์ผ์ด๋ฆ„ type

์ถœ์ฒ˜ : https://github.com/KirstieJane/STEMMRoleModels/wiki/Creating-new-folders-in-GitHub-repository-via-the-browser

 

โ—โ— ์ค‘์š”ํ•œ ์ 

  • github์—์„œ๋Š” ๋นˆ ํด๋”๋ฅผ ์ƒ์„ฑํ•  ์ˆ˜ ์—†๋‹ค (cannot create empty folder)
  • ๊ทธ๋ ‡๊ธฐ ๋•Œ๋ฌธ์— ํด๋”์ด๋ฆ„์„ ์น˜๊ณ  '/' ๊ตฌ๋ถ„์ž๋ฅผ ์ณ์ค€ ํ›„, ์ƒ์„ฑํ•  ํŒŒ์ผ ์ด๋ฆ„๊นŒ์ง€ ์ณ์ค˜์•ผ ํ•œ๋‹ค (์ƒ์„ฑํ•  ํŒŒ์ผ ์—†์œผ์‹œ๋ฉด ๊ทธ๋ƒฅ readme.md ๋ฅผ ์น˜์„ธ์š”)
๋ฐ˜์‘ํ˜•

3. ์•„๋ž˜ commit new file ํด๋ฆญ 

 commit new file ๊นŒ์ง€ ํด๋ฆญํ•ด์•ผ ํด๋” ์ƒ์„ฑ์ด ์™„๋ฃŒ๋œ๋‹ค!!

 

 

 

728x90
๋ฐ˜์‘ํ˜•