728x90
๋ง์ฝ ํฐ๋ฏธ๋์ ๋ช ๋ น์ด git push origin master์ ์ณค๋๋ฐ
์๋์ ๊ฐ์ ์ค๋ฅ๊ฐ ๋์จ๋ค๋ฉด?
To https://github.com/inthhh/travel_web_react.git
! [rejected] master -> master (non-fast-forward)
error: failed to push some refs to 'https://github.com/inthhh/travel_web_react.git'
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Integrate the remote changes (e.g.
hint: 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
์๋ง๋ ๊นํ๋ธ ๋ ํฌ์ Readme ํ์ผ์ด๋ .gitignore ๋๋ฌธ์ ๋ฐ์ํ๋ ๋ฌธ์ ๋ผ๊ณ ํ๋ค.
pull์ ๋ฐ๊ณ ๋์ ์งํํ๋ ๊ฒ ์ ์์ธ ๋ฐฉ๋ฒ์ด๊ธด ํ๋ฐ,
๋ณ๋ก ์ค์ํ์ง ์์ ๋ฌธ์ ๋ผ๋ฉด
์๋์ ๊ฐ์ด ๋ธ๋์น ์ด๋ฆ ์์ +๋ฅผ ๋ถ์ฌ์ ์ ๋ ฅํ๋ฉด ํด๊ฒฐ๋๋ค!
git push origin +master
728x90