728x90
git push -u master master ์๋ฌ
! [rejected] master -> master (non-fast-forward)
error: failed to push some refs to '๊นํ ๋ฆฌํฌ์งํ ๋ฆฌ ์ฃผ์'
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.
ํด๊ฒฐ ๋ฐฉ๋ฒ
git push master +master
๋ฐ์์์ธ
.gitignore ํ์ผ ๋๋ README.md ํ์ผ๋ก ์ธํด ๋ฐ์ํ๋ค๊ณ ํ๋ค.
[์ฐธ๊ณ ๋งํฌ] ๐ https://somjang.tistory.com/entry/Git-rejected-master-master-non-fast-forward-%ED%95%B4%EA%B2%B0-%EB%B0%A9%EB%B2%95
[Git] ! [rejected] master -> master (non-fast-forward) ํด๊ฒฐ ๋ฐฉ๋ฒ
ubuntu@server:~/PythonHome/TestTA/api$ git push --set-upstream origin master Username for 'https://github.com': SOMJANG-42MARU Password for 'https://SOMJANG-42MARU@github.com': To https://github.com/SOMJANG-42MARU/MaruKeyword.git ! [rejected] master -> mas
somjang.tistory.com
728x90
'๐ Growth > Troubleshooting' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
| [Git] ๊ธฐ์กด ์๊ฒฉ ์ ์ฅ์๋ฅผ ์ญ์ ํ๊ณ ๋ค์ ์ถ๊ฐํ๊ณ ์ถ์ ๋ (1) | 2023.10.29 |
|---|---|
| [Git Error] LF will be replaced by CRLF the next time Git touches it ํด๊ฒฐ (0) | 2023.10.29 |
| [IntelliJ Error] Commit checks failed (Windows) (1) | 2023.10.25 |
| [IntelliJ Warning] Lombok requires enabled annotation processing (Windows) (0) | 2023.10.25 |
| [์คํ๋ง ERROR ํด๊ฒฐ] MySQL ์ฐ๋ (0) | 2023.10.22 |