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
$ git remote add origin <URL>
Push to GitHub "" = Push content
$ git commit -m "first commit"
$ git push origin master
Push completed
Recommended Posts