0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Heroku GitのmasterブランチをGitHubのdevelopブランチに強制上書き

Last updated at Posted at 2025-05-09

heroku git:clone -a <Herokuアプリ名> tmp
cd tmp
git remote add origin <GitHubリポジトリURL>
git checkout -b develop
git reset --hard heroku/master
git push origin develop --force

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?