Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
現在、「マスター」にアプリケーションがあり、ドキュメントを生成するテスト済みのスクリプトを使用しました。
ただし、このスクリプトが「stable」という名前の別のブランチで実行された後に、変更をアプリケーションにプッシュしたいと考えています。
ブランチを作成してから、 and を実行しようとしましgit checkout stableたgit pull origin master。
git checkout stable
git pull origin master
しかし、変更は適用されません。
masterチェックアウト済み (および最新の状態) で、以下を使用してそこからブランチを作成できます。
master
git checkout -b Stable
Stableこれで、ブランチと同等のブランチが呼び出されますmaster。変更 (つまり、ドキュメント) をこのブランチにコミットしてからプッシュすると、必要なものが得られます。
Stable