0
0

More than 3 years have passed since last update.

Railsで開発したアプリをGithubにPushする方法

Last updated at Posted at 2020-11-07

Railsで開発したアプリをGithubにプッシュする方法

ruby 2.6.6
rails 6.0.3.4
mac os

プッシュしたいローカルディレクトリに移動

 $ cd sample_app

プッシュの準備(?)

$ git init
$ git add .

Githubのプッシュ先のレポジトリを指定
<URL>= レポジトリのHTTP
スクリーンショット 2020-11-07 午後2.50.21.png

$ git remote add origin <URL>

GitHubにプッシュする
"" = プッシュの内容

$ git commit -m "first commit"
$ git push origin master

Push完了

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