Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 519 Bytes

File metadata and controls

15 lines (10 loc) · 519 Bytes

Push to Git Repository

By now rails new has already initialised the local git repository and created an initial commit for you. This step pushes that commit to the GitHub repository you created in the previous step.

If you used gh repo create renuo/[project-name] --private --source=. --remote=origin, the origin remote is already set. Otherwise, add it:

git remote add origin git@github.com:renuo/[project-name].git

Then push:

git push -u origin main