How do I push code to GitHub?

How do I push code to GitHub?
Answer
  1. Create a new repository on GitHub.
  2. Open TerminalTerminalGit Bashthe terminal.
  3. Change the current working directory to your local project.
  4. Initialize the local directory as a Git repository.
  5. Add the files in your new local repository.
  6. Commit the files that you’ve staged in your local repository.
Photo in the article by “Flickr”
Code:
https://www.flickr.com/photos/xmodulo/19433194168
 

Tìm kiếm

Back
Top