1
私はbitbucketに2つのブランチを持っていますが、私はブランチからマスターブランチである別のブランチにコミットするだけです。 誰かが私にビットバケット環境でそれをどうやってできるのか説明できますか?bitbucketのあるブランチから別のブランチへのプッシュ承認のコミット
ありがとうございます。
私はbitbucketに2つのブランチを持っていますが、私はブランチからマスターブランチである別のブランチにコミットするだけです。 誰かが私にビットバケット環境でそれをどうやってできるのか説明できますか?bitbucketのあるブランチから別のブランチへのプッシュ承認のコミット
ありがとうございます。
私は、コマンドが第三のステップのために何であるかどうかの確認が求められ、のgit
1. git log
this will list all commits take the commit id which you wanted to move.
2. git cherry-pick <commit-id>
apply this after switching to master branch
3.then push new master to remote
git push <REMOTENAME> <BRANCHNAME>
eg. git push origin master
or
git push <REMOTENAME> <LOCALBRANCHNAME>:<REMOTEBRANCHNAME>
eg:
if my remote name is heroku and i want to push local heroku branch to heroku(remote) master barnch(heroku/master)
git push heroku heroku:maste
ステップ桜が-選ぶ使用することができますか? –
@MaryamKoulaeiは答えを更新しました –