git

[Git] κ°•μ œ Pull

건망디 2021. 5. 25. 21:30
git fetch --all

πŸ‘‰ 원격 μ €μž₯μ†Œμ—μ„œ 이전 fetch듀을 λ°›μ•„μ˜¨λ‹€.

git reset --hard origin/master

πŸ‘‰ ν˜„μž¬ λ‚˜μ˜ μƒνƒœλ₯Ό origin/master에 μžˆλŠ” λ‚΄μš©μœΌλ‘œ reset ν•œλ‹€.

git pull origin master

πŸ‘‰ 이후 pull

 

 

 

 

 

 

좜처 : https://gist.github.com/vladimirtsyupko/10964772