[RAILS] How to push from Tarminal to GitHub

Notes

Cd to the directory containing the file you want to push.

Then enter the following command.

git add .
git commit -m 'first commit(Enter the words you want to leave as comments here)'
git push origin main

That's it.

Recommended Posts

How to push from Tarminal to GitHub
Until you push to Github
How to migrate from JUnit4 to JUnit5
How to push an app developed with Rails to Github
Push Docker images from GitHub Actions to GitHub Container Registry
Addicted to project imports from GitHub
[Personal notes] How to push a Docker image to GitHub Packages
How to change from HTML to Haml
Docker push to GitHub Container Registry (ghcr.io)
[Rails] How to convert from erb to haml
[IOS] How to get data from DynamoDB
How to call Swift 5.3 code from Objective-C
[Flutter] How to use C / C ++ from Dart?
Java: How to send values from Servlet to Servlet
How to send push notifications on AWS
How to deploy
[Ruby] How to convert from lowercase to uppercase and from uppercase to lowercase
How beginners can upload their apps to GitHub
How to link Rails6 Vue (from environment construction)
How to get a heapdump from a Docker container
How to dump from database (DB) to seeds file
How to get Class from Element in Java
Git and GitHub ~ How to fix common errors ~
[Java] How to switch from open jdk to oracle jdk
How to get SIMD optimization from HotSpot JavaVM
[ruby] How to receive values from standard input?
How to develop OpenSPIFe
[Swift] How to play songs from your music library
Changes from Java 8 to Java 11
Sum from Java_1 to 100
How to call AmazonSQSAsync
Steps to push Docker image to GitHub Container Registry (ghcr.io)
How to use Map
How to jump from Eclipse Java to a SQL file
How to write Rails
How to use rbenv
How to write Scala from the perspective of Java
Migrate from JUnit 4 to JUnit 5
How to deploy to Heroku from a local docker image
How to use letter_opener_web
How to use with_option
How to use fields_for
How to use java.util.logging
How to use map
[Java] How to extract the file name from the path
List how to learn from Docker to AKS on AWS
How to use collection_select
Push delivery from Spring application to Firebase Cloud Messaging
How to adapt Bootstrap
How to remove Tiles from TERASOLUNA 5.x blank project
How to connect to ClearDB from Sequel Pro on Heroku
How to use Twitter4J
How to use active_hash! !!
How to install Docker
How to use MapStruct
How to use hidden_field_tag
How to output standard from an array with forEach
How to use TreeSet
How to write dockerfile
How to uninstall Rails
How to install docker-machine