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?

More than 3 years have passed since last update.

git-ftpで特定のブランチの変更をアップロードする方法

Posted at

git-ftpを使っていて、特定のブランチの変更を一時的にアップロードしてサーバで確認したい時、
以下のコマンドを打てば、ブランチの差分だけアップロードできます。

git-ftp push -b ブランチ名

メインブランチに戻したい時は、以下のコマンドでメインブランチの状態に戻せます。

git-ftp push -b main

一時的にブランチの内容をアップしたい際や、
メインブランチにすぐ戻したい時に便利ですね✨

Wordpressやエンジニアの便利な情報を発信しています

Wordpressのブログにて記事を最新情報を更新中です!
エンジニアリングに関する情報を随時更新中ですので、ぜひご覧ください。

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?