ํ์๊ด๋ฆฌ/Git
[Git] git ignore
https://shlee0882.tistory.com/230 Nodejs ๊ธฐ๋ณธ ์ค์ (NPM Express .gitignore ์ค์น) 1. node js ์๋ฐ์คํฌ๋ฆฝํธ๋ ์น๋ธ๋ผ์ฐ์ ํ๋ก ํธ์์ ๊ผญ ํ์ํ ์ธ์ด์๊ณ , ์น๋ธ๋ผ์ฐ์ ์ ์ข ์์ ์ด์๋ค.์น์ ์ข ์์ ์ด์๋ ์๋ฐ์คํฌ๋ฆฝํธ๋ฅผ ๋ถ๋ฆฌํ์ฌ ์คํ๊ฐ๋ฅํ๊ฒ ํ ๊ฒ์ด nodejs์ด๋ค.nodejs๋ js runner shlee0882.tistory.com ์ค์ ํ์ผ(.gitignore) ์์ฑ .gitignore ํ์ผ์ ํ๋ก์ ํธ ์ต์์ ๋ฃจํธ์ ์์ฑํ ํ ๊ทธ ์์ ๋ฒ์ ๊ด๋ฆฌ์ ํฌํจํ์ง ์์ ํ์ผ์ ํจํด์ ๋ง๊ฒ ์์ฑํด ์ค๋ค. • ํ์ค Glob ํจํด์ ์ฌ์ฉํ๋ค. • ์๋ฌด๊ฒ๋ ์๋ ๋ผ์ธ์ด๋, "#"์ผ๋ก ์์ํ๋ ๋ผ์ธ์ ๋ฌด์ํ๋ค. • ์ฌ๋์(/)๋ก ์์ํ๋ฉด ํ์ ๋๋ ํ ๋ฆฌ์ ์ ์ฉ๋์ง(Recu..
[Git] ์ ๋ฌด์ฉ, ๊ฐ์ธ์ฉ ๊น ๊ณ์ ๋ถ๋ฆฌ
https://www.daleseo.com/git-config/ git config ๋ช ๋ น์ด ์ฌ์ฉ๋ฒ Engineering Blog by Dale Seo www.daleseo.com https://awesometic.tistory.com/128 ๊น(git) - ํ๋ก์ ํธ/์ ์ฅ์๋ง๋ค ๋ค๋ฅธ ๊ณ์ ์ ๋ณด ์ฌ์ฉํ๊ธฐ ์ ์ฅ์๋ณ ๊ณ์ ์ค์ Command line ์์ git์ ์ฌ์ฉํ๋ ค๋ฉด, git ์ค์น ํ ๊ฐ๋จํ ์ค์ ๋ ๊ฐ์ง ์ ๋๋ ํด์ค์ผ ํธํด์. ๊ณ์ ๊ณผ ์ด๋ฆ ์ค์ ์ ํด์ฃผ๋ฉด git commit, git push ํ ๋๋ง๋ค ๊ณ์ ์ ๋ณด๋ฅผ ์ ๋ ฅํ์ง ์์๋ awesometic.tistory.com ๋ ํฌ๋ง๋ค ์๋์ ๊ฐ์ด ๊ธ๋ก๋ฒ๊ณผ ๋ก์ปฌ์ ์ ๊ตฌ๋ถํด์ฃผ๋ฉด ๋๋ค. //๊ฐ์ธ ํ๋ก์ ํธ ์์น์์ $ git config user.email mim..
[๊นํ๋ธ ๋ฆฌ๋๋ฏธ] ๊ธฐ์ ์คํ ์์ด์ฝ ์ถ๊ฐํ๊ธฐ
[Github] github profile ๊พธ๋ฏธ๊ธฐ (velog.io) [Github] github profile ๊พธ๋ฏธ๊ธฐ ๋ด github ๊ณ์ ์ด๋ฆ๊ณผ ๋๊ฐ์ ์ด๋ฆ์ repository๋ฅผ ๋ง๋ ๋ค! ๊ทธ๋ฌ๋ฉด GitHub ํ๋กํ์ README.md๋ฅผ ์ถ๊ฐํ๋ ๋ฐ ์ฌ์ฉํ ์ ์๋ "special" ํ ์ ์ฅ์๋ผ๊ณ ๋ฌ๋ค \~~ ๊ท์ฝ โคโ Public & Add a README file ์ ๊ผญ ์ฒดํฌ ํ velog.io GitHub - Ileriayo/markdown-badges: Badges for your personal developer branding, profile, and projects. Badges for your personal developer branding, profile, and projects. ..
[Git]์ง์ญ ์ ์ฅ์์ ํ๋ก์ ํธ๋ฅผ ์ ๋ก๋ํ๋ ค๋ค defualt ๋ธ๋ฐ์น๋ master๊ฐ ์๋๋ผ origin์ธ ๊ฑด์ ๊ดํ์ฌ
๊นํ๋ธ(Github) 2. ์๊ฒฉ ์ ์ฅ์ ๋ง๋ค๊ธฐ + ์ง์ญ ์ ์ฅ์์ ํ๋ก์ ํธ๋ฅผ ์ ๋ก๋ ํ๊ธฐ : ๋ด ํ๋ก์ ํธ๋ฅผ github์ ์ฌ๋ฆฌ๊ธฐ (tistory.com) [ 05.23 ] git (1) - git upload procedure / ๋ด ์์ ๋ฌผ git hub์ ์ ๋ก๋ ํด๋ณด๊ธฐ. (velog.io) [ 05.23 ] git (1) - git upload procedure / ๋ด ์์ ๋ฌผ git hub์ ์ ๋ก๋ ํด๋ณด๊ธฐ. ๊ฐ๋ฐ์์ํ๊ณ ์์์ด ๋ค์ด๋ดค์ง๋ง ์ ํํ ๋ชฐ๋๋ git ์ด ๋ฌด์์ธ์ง ๋ค๋ค๋ณด๊ฒ ๋ค.git : ์ ์ฅ ๊ด๋ฆฌ์ ๊ฐ๋ .์ปดํจํฐ์ ์ฉ๋์ ์ ํด์ ธ ์๋๋ฐ ์์ ๋ฌผ์ ๊ณ์ ๋์ด๊ฐ๋ค๋ฉด ์ด๋ป๊ฒ ๋ ๊น?์ปดํจํฐ๋ ๋๋ ค์งํ ๊ณ velog.io [GitHub] ๊นํ๋ธ์ ํ๋ก์ ํธ ์ฌ๋ฆฌ๊ธฐ (tistory.com) cd ํ๋ก์ ํธ ํด๋ git ..
[Git] branch ๋ฐ๊ธฐ
git branch ์์ฑ ๋ฐ ํธ์ : ๋ค์ด๋ฒ ๋ธ๋ก๊ทธ (naver.com) git branch ์์ฑ ๋ฐ ํธ์ ์ ๋ฌด๋ฅผ ํ๋ฉด์ ๊น ๊ณ์ ์ด ๊ผฌ์ด๋ ๋ฐ๋์ ๊ตฌ๊ธ๋ง๋ ์ฐธ ๋ง์ด ํ๊ณ ์ปดํจํฐ ํฌ๋งท๋ ํ๋ค. ์ธ๊ณ ์ ๊ณผ์ ์ ๊ฑฐ์ณ์... blog.naver.com Github - Branch ๊ด๋ฆฌ (Branch ์์ฑ, ์ด๋, ๋ณํฉ ์ญ์ ) (tistory.com) Github - Branch ๊ด๋ฆฌ (Branch ์์ฑ, ์ด๋, ๋ณํฉ ์ญ์ ) Github์์ ๋์ repo์ branch๋ฅผ ์์ฑํ๋ฉด ๋ง์น ์๋ณธ ํ์ผ์ 2๊ฐ๋ก ๋ณต์ฌํด๋๋ ํจ๊ณผ์ ๋๋ค. Repository A์ ์๋ ๊ธฐ๋ณธ branch์ธ master branch๊ฐ ์์ผ๋ฉฐ, ์ฌ๊ธฐ์ ์ถ๊ฐ๋ก test branch๋ฅผ ์์ฑํ๋ค๊ณ ๊ฐ์ ํด๋ด ์๋ค... cosmosproject.tistor..
๊น ๋ธ๋ก๊ทธ ํฌ์คํ ํ๊ธฐ
๊ฒ์๋ฌผ | ์งํฌ • ๊ฐ๋จํ, ๋ธ๋ก๊ทธ ์ธ์, ์ ์ ์ฌ์ดํธ (jekyllrb.com) Posts Blogging is baked into Jekyll. You write blog posts as text files and Jekyll provides everything you need to turn it into a blog. jekyllrb.com --- layout: post title: "Welcome to Jekyll!" --- # Welcome **Hello world**, this is my first Jekyll blog post. I hope you like it! https://youtu.be/ACzFIAOsfpM [Jekyll Blog] ๋งํฌ๋ค์ด(Markdown) ์ฌ์ฉ๋ฒ ๋ฐ ์์ · The..
๊น ๋ธ๋ก๊ทธ ๊ฐ์ค
GitHub ๋ธ๋ก๊ทธ ๋ง๋ค๊ธฐ(1) - jekyll ์ฌ์ฉํด์ ํ ๋ง ์ ํ๊ธฐ (tistory.com)
๊น Clone : ๊นํ๋ธ์ ๋ก์ปฌ ํด๋ ์ฐ๊ฒฐํ๊ณ commit, push๊น์ง
[Git] ๊นํ๋ธ์ ๋ก์ปฌ ํด๋ ์ฐ๊ฒฐํ๊ธฐ(clone) (velog.io) [Git] ๊นํ๋ธ์ ๋ก์ปฌ ํด๋ ์ฐ๊ฒฐํ๊ธฐ(clone) 1. PC(๋ก์ปฌ)์ ์๋ก์ด ํด๋ ์์ฑ **2. ๋ง์ฐ์ค ์ค๋ฅธ์ชฝ - Git Bash Here * mac์ terminal์์ ์ด๊ธฐ* 3. ๊น ๊ณ์ velog.io ์์ ํฌ์คํ ์ ์ฐธ๊ณ ํ์ฌ ๋ ํฌ์งํ ๋ฆฌ ๋งํฌ ๋ณต์ฌ ํ $ git clone ๋ ํฌ์งํ ๋ฆฌ๋งํฌ ๋ฅผ ํตํด cloneํ๊ณ ๋๋ฉด, ํด๋น ๋ก์ปฌ ํด๋์์ Git Bash here์ ํตํด ๊นbash๋ฅผ ์ด๊ณ ์์ ์ ๊ฐํ ํ ์ด ๋ชจ๋ ๊ณผ์ ์ ๋จ 5์ค๋ง ์ ๋ ฅํด์ฃผ๋ฉด ๋๋ค. $ git clone $ git add . $ git status ์ค๋ช : ๋ณ๊ฒฝ์ฌํญ์ ํ์ธํด์ค๋ค. $ git commit -m "secondTset" ์ค๋ช : ์ปค๋ฐํ ๋๋ง๋ค ๊ผผ๊ผผํ๊ฒ ์ฐ๋..
Git Push
Push git add --all git commit -m "์์ฑํ๊ณ ์ถ์ ์ปค๋ฐ์ปจ๋์ " git push -u origin main ์ ๋ช ๋ น์ด๋ค์ ํฐ๋ฏธ๋์ ์์๋๋ก ์์ฑํด์ค๋ค.