Git (3) 썸네일형 리스트형 Git 여러 Repository 로 push 하기 git add * git commit -m 'content' git push [주소1] [브랜치명1] git push [주소2] [브랜치명2] git commit 까지 해준 후 push를 그 상태에서 push 를 여러번 해주면 됩니다! Git 에서 특정 branch clone 하기 공식 git clone -b [브랜치이름] --single-branch [레포지토리 주소] 터미널에 브랜치이름에 해당 브랜치 이름을 레포지토리 주소에 해당 레포 주소를 적어주면 됩니다. 예시 git clone -b front --single-branch https://github.com/youngsoosoo/furry 해당 코드를 입력하면 해당 주소에 front 브랜치를 클론해줍니다. yarn deploy 시 Failed to get remote.origin.url 해결하기 1. yarn deploy 정상적으로 작동 되지 않고 Failed to get remote.origin.url (task must either be run in a git repository with a configured origin remote or must be configured with the "repo" option) 라는 에러가 발생했다. 2. origin 추가하기 git remote add origin {git 레포주소} 를 이용해 추가해준다. 3. 해결 평소에 origin으로 remote 를 지정하지 않고 프로젝트 명으로 하다 보니 에러가 발생했다. 이전 1 다음