1. Clone ๋ฌ ํ์ ์๊ฒฉ ๋๊ธฐ
git remote -v
git remote remove origin
2. ์๊ฒฉ ๋์ด์ฃผ๊ณ ๋ ๋ค
rm -rf .git
git init
git add .
git commit -m "initial commit"
3. BitBucket๊ฐ์ ์๋ก์ด Repository ์์ฑ
4. Git ์ ์ฅ์ ์ฐ๊ฒฐ ํ ๊ฐ์ push
git remote add origin {git remote url}
git push -u --force origin master
'๊ฐ๋ฐ์ํ > Git' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
GitHub ๋ช ์ฌ! (0) | 2023.12.14 |
---|---|
github repository ํ๋๋ก ํฉ์น๊ธฐ (0) | 2023.08.09 |
Clone์ผ๋ก ์์ฑํ ํ๋ก์ ํธ ์ด๊ธฐํ (0) | 2022.05.28 |
[GIT] Reset ๋ช ๋ น์ด (0) | 2022.03.29 |
๋ก์ปฌ ํ๋ก์ ํธ๋ฅผ GitHub Repository๋ก ์์ฑ & ์ฐ๊ฒฐ (0) | 2022.03.02 |