Skip to content

Instantly share code, notes, and snippets.

@Front-line-dev
Created August 31, 2020 14:50
Show Gist options
  • Save Front-line-dev/31c2658a3f319c6e9cef1ecc45b4a95b to your computer and use it in GitHub Desktop.
Save Front-line-dev/31c2658a3f319c6e9cef1ecc45b4a95b to your computer and use it in GitHub Desktop.

Organization에서 만든 repo는 fork해도 heroku를 통해 deploy 하지 못한다. 따라서 heroku cli를 설치해서 내 로컬 저장소를 heroku로 push 해줘야 한다

만약 내 root 폴더가 소스 폴더가 아닐 경우, (src 폴더에 package.json 파일이 있다고 가정) git subtree push --prefix src heroku main 이렇게 하면 된다.

이때 main은 master도 될 수 있다. 상황에 따라서 사용하자

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment