
ํ์ผ ํ์ดํ // ์์ธ Git ์ฐ์ต์ผ์ ๋ ํผ์งํ ๋ฆฌ ๋ง๋ค๊ณ ๋ฉ์ธ์ pull ํ ๋ค์์ ํธ์ฌ ํ๋ ๊ณผ์ ์์ ํ ๋ช ์ด ํธ์ฌํ๋๋ฐ ํ์ผ์ด ํ์ดํ๊ฐ ์๊ธฐ๊ณ ํธ์ฌ๊ฐ ์ ๋๋ก ์๋๋ ํ์์ด ์ผ์ด ๋ฌ๋ค. .git ํด๋๊ฐ ์๊ฒจ์ ๋ฐ์ํ๋ ๋ฌธ์ , ๋ ํผ์งํ ๋ฆฌ ํ์ผ์ ์ด์ด์ผ ๋๋๋ฐ ํด๋ก ํ ํ์ผ์ ์ด์์ ๊ฒฝ์ฐ, //ํด๊ฒฐ 1๋ฒ์ผ ๊ฒฝ์ฐ rm -rf .git ๋ช ๋ น์ด๋ก .git ํ์ผ ์ ๊ฑฐ git rm --cached . -rf ๋ช ๋ น์ด๋ก ํด๋น ์คํ ์ด์ง์ ํ์ผ์ ์ ๊ฑฐ add - commit - push ์งํ ์ฐธ๊ณ : https://zzang9ha.tistory.com/346 GitHub(๊นํ๋ธ) - ๋๋ ํ ๋ฆฌ์ ํ์ดํ ํ์(ํด๋ ํด๋ฆญ์ด ์๋ ๋) ๐ GitHub ๋๋ ํ ๋ฆฌ ํ์ดํ ํ์ -> ํด๋ ์ ๊ทผ ๋ถ๊ฐ๋ฅ ๊นํ๋ธ์์ ํ ๋๋ ํ ๋ฆฌ์ ๋ค๋ฅธ ๋๋ ..

์ฝ๋ ๋ชจ์ git init = ์ ์ฅ์ ์์ฑ git add (ํ์ผ๋ช ) ,git add . (์ ์ฒด) git status ๋ด ์ํ์ฐฝ ์ด๊ธฐ (ํ์ฌ ๋ด๊ฐ ์๋ ๋ธ๋์น, commit ์ํฉ) git log --all --online (head ๋ด ํ์ฌ์์น) git difftool ==> yes ==> hjkl ๋ฐฉํฅํค, q ์ข ๋ฃ ๋น๊ตํ๊ธฐ git difftolol 'log id' ==> ํ์ฌํ์ผvsํน์ ์ปค๋ฐ ๋น๊ต ๊ฐ๋ฅ git restore (ํ์ผ๋ช ) == ์ต๊ทผ ์ปค๋ฐ ์ํ๋ก ๋์๊ฐ git restore --source ์ปค๋ฐ์์ด๋ ์ ์์ ์ปค๋ฐํ์ผ๋ก ๋์๊ฐ git revert (์ปค๋ฐ ์ทจ์) git reset --hard (์ปค๋ฐ ์์ด๋) ์ ์ผ๋ก ๋๋๋ฆฌ๊ธฐ git fetch ์๊ฒฉ ์ ์ฅ์ ์ ๊ท commit ๊ฐ์ ธ์ค๊ธฐ git branc..
- Total
- Today
- Yesterday
- git
- API
- ์๋ฒ
- ์๋ฐ์คํฌ๋ฆฝํธ
- HTML
- JavaScript
- CS ์คํฐ๋
- ํฌ๋กค๋ง
- Git Code
- Router
- styled-components
- sass
- JWT
- scss
- DESIGN
- ์๊ณ ๋ฆฌ์ฆ
- CSS
- DB๋ชฝ๊ณ
- ํธ๋ฌ๋ธ ์ํ
- flask
- Python
- react
- ํญํด99
- db
- Redux
- CS
- Til
- ๋ฉ์ดํน ์ฑ๋ฆฐ์ง
- Wil
- ์คํ๋ฅดํ์ฝ๋ฉํด๋ฝ
์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |