원격 저장소(GitHub)
git remote add (원격 저장소 이름) (원격 저장소 주소)git branch -M maingit push -u origin main git remotegit remote remove (원격 이름(origin))git clone (원격 저장소 주소)Last updated
git remote add (원격 저장소 이름) (원격 저장소 주소)git branch -M maingit push -u origin main git remotegit remote remove (원격 이름(origin))git clone (원격 저장소 주소)Last updated
git pullgit push --forcegit branch --all
또는
git branch -agit fetchgit switch -t origin/(브랜치 이름)git push origin --delete (원격의 브랜치 이름)