[RUBY] How to push an app developed with Rails to Github

How to push an app developed with Rails to Github

ruby 2.6.6 rails 6.0.3.4 mac os

Move to the local directory you want to push

 $ cd sample_app

Preparation for push (?)

$ git init
$ git add .

Specify the repository to push to Github = HTTP in the repository スクリーンショット 2020-11-07 午後2.50.21.png

$ git remote add origin <URL>

Push to GitHub "" = Push content

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

Push completed

Recommended Posts

How to push an app developed with Rails to Github
I want to push an app made with Rails 6 to GitHub
How to specify db when creating an app with rails
Downgrade an existing app created with rails 5.2.4 to 5.1.6
[Rails] How to build an environment with Docker
How to make an almost static page with rails
How to get started with creating a Rails app
How to get along with Rails
How to make an app using Tensorflow with Android Studio
Confirm public key ~ Register key on Github ~ Push Rails app to Github
How to crop an image with libGDX
How to change app name in rails
[Rails] How to use rails console with docker
Introduced Vue.js to an existing Rails app
Introduced Vuetify to an existing Rails app
How to build Rails 6 environment with Docker
[Rails] How to apply the CSS used in the main app with Administrate
How to make an app with a plugin mechanism [C # and Java]
[Swift] How to link the app with Firebase
Rails6.0 ~ How to create an eco-friendly development environment
[Rails] How to easily implement numbers with pull-down
How to build API with GraphQL and Rails
How to write Rails
How to uninstall Rails
I'm making an Android app and I'm stuck with errors and how to solve it
[Rails] How to search by multiple values ​​with LIKE
How to delete a new_record object built with Rails
How to manually generate a JWT with Rails Knock
How to output standard from an array with forEach
[How to insert a video in haml with Rails]
[Rails] How to deal with URL changes after render
How to query Array in jsonb with Rails + postgres
[Docker + Rails] How to deal with Rails server startup failure
[Rails] How to display an image in the view
How to create an application
[Rails] How to use enum
[Rails] How to install devise
[Rails] How to use enum
How to read rails routes
How to use rails join
How to number (number) with html.erb
How to update with activerecord-import
Until you push to Github
How to terminate rails server
How to write Rails validation
How to write Rails seed
[Rails] How to use validation
[Rails] How to disable turbolinks
How to handle an instance
[Rails] How to use authenticate_user!
[Rails] How to use "kaminari"
[Rails] How to implement scraping
[Rails] How to make seed
How to write Rails routing
[Rails] How to install simple_calendar
[Rails] How to install reCAPTCHA
[Rails] How to use Scope
How to automatically generate ER diagram when migrating with Rails6
How to set environment variables when using Payjp with Rails
Rough procedure verbalized output when creating an app with Rails
[Rails] I tried to create a mini app with FullCalendar