Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

adding code to remote repo

Matt answered on May 8, 2023 Popularity 5/10 Helpfulness 5/10

Contents


More Related Answers

  • connect local repository to remote git
  • git existing code to new repository
  • github add new origin
  • how to add git remote origin different id
  • add github repo
  • add code to github repository from command line
  • how to push code to another remote git repository
  • how to connect remote repo with local repo
  • link an existing local git to remote repo
  • add local repository to remote
  • pushing an existing rep from command line to github repo
  • add to a github repo
  • git push existing code to new repository
  • remote add to github
  • push existing repository in gthub
  • remote repo push
  • add new repo github
  • how to push local repo into existing github repo (using ssh)
  • Create Remote for Contributing to a GitHub project
  • invite to github repo

  • adding code to remote repo

    0

    git init

    git add README.md

    git commit -m "first commit"

    git branch -M main

    git remote add origin <REPO URL>

    git push -u origin main 

    Popularity 5/10 Helpfulness 5/10 Language shell
    Source: Grepper
    Tags: repo shell
    Link to this answer
    Share Copy Link
    Contributed on May 08 2023
    Matt
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.