CS50x threads to aide as a supplementary resource Forums Pushing changes on Codespace to GitHub repository

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #2610

    Repository named fin created within GitHub and connected to CodeSpace with branch main.

     

     

    
    
    # Add changes to staging area
    git add rajeev.txt
    
    # Commit changes
    git commit -m "Your commit message"
    
    # Push changes to the remote repository (assuming you're on the 'main' branch)
    git push -u origin main
    

    This assumes you’re on the main branch. If you’re on a different branch, replace main with the name of your branch. And replace Your commit message with an appropriate commit message describing your changes.

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.
Scroll to Top