迷い人

日々勉強。勉強の先に何か見つかるといいなぁ

GitHub GitHub Desktopのメモ

ローカルリポジトリの作成

  1. Current Repository → Add → Add Exsiting Repositoryと進む。
  2. 該当のアプリケーションのフォルダを選択
  3. Add Repositoryをクリック

 

クリックできないときは、該当アプリケーションのフォルダで以下のコマンドを実施

 

$ git init

 

initial commit と入力して、Commit to masterをクリックします。

 

Remote Repositoryを作成

Public Repositoryをクリック

Keep this code privateのチェックは外す

 

ブランチの作成

Current Branch → New Branchをクリック

ブランチ名を入力し、Create Branchをクリック

 

プルリクエストを作成

以下のコマンドで空のプルリクエストを作成

 

$ git commit --allow-empty -m 'create pull request'

 

Publsh Branchをクリック

 

Create Pull Requestをクリック