LoginSignup
1
1

More than 5 years have passed since last update.

git-flowを使ってGitHubにプルリクエストを送ってみる手順

Last updated at Posted at 2016-11-10

プロジェクトのルートで下記のコマンドを叩く

git init
git flow init -d
これでdevelopブランチができる
git flow feature start いい感じのブランチ名
git add .
git commit -m "冷たい頬"

git remote
名前の確認 例)origin
git remote -v
自分がpushしたいgithubのリポジトリ

git remote add origin git@github.com:coderstable/comfortable_keeper_sketch.git
リポジトリがないなら追加する

GitHubへのpushのやり方

git push origin feature/いい感じのブランチ名

GitHubへちゃんとpushされているかの確認

トップ画面 -> branches -> Active branches
と進み、pushしたファイルが表示されていればOK

GitHubへのプルリクエストのやりかた

pushしたファイルが表示されていた画面で、右側の緑のボタン"Clone or Download"
の下にある"Pull request"リンクをクリックし遷移後の画面でメッセージを書く

git flow って何?
git と何が違うの? gitじゃダメなの?

1
1
2

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
1
1