How to Push to GitHub from Terminal



Guide

  1. Click on your profile icon.

  2. Select 'Settings' from the drop-down menu.

  3. Go to the 'Access' section, select 'SSH and GPG keys'.

  4. Click 'New SSH key' to add more keys.

  5. Click the add icon to create a new repository.

  6. Name your repository.

  7. Click 'Create repository'.

  8. Click 'HTTPS' to set up your repository.

  9. Click on the files or highlight the files and select ''Git Bash Here'. These are the files that need to be push to the repository.

  10. The highlighted code is the whole file of the files.

  11. Use the command lines to create a new repository. Once done, click 'Enter'.

  12. That's it! By following these steps, you can push GitHub from the terminal.

🚀

Create your first interactive demo in minutes

No credit card required • Start building today

Start free

    This website uses cookies to enhance the user experience.

    AcceptDecline