Skip to content

Trying to push to github but Actually getting different outputs from what i see from the instructor.. #536

Answered by alymurtazamemon
Benrockiee asked this question in Q&A
Discussion options

You must be logged in to vote

@Benrockiee

Follow these steps:

  1. Create a repo on Github
  2. Copy the HTTP URL link
  3. In the terminal run these commands

git add .
git commit -m "initial commit"
git remote add origin <URL-of the GitHub repo>
git push -u origin main

Let me if you feel any difficulty in these.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Benrockiee
Comment options

@alymurtazamemon
Comment options

@Benrockiee
Comment options

@alymurtazamemon
Comment options

Answer selected by alymurtazamemon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants