Answers for "github save init repository to remote"

0

github save init repository to remote

# Sets the new remote you'll need to create this repo on github first
git remote add origin https://github.com/yourusername/yourprojectname 
git branch -M main # Creates a branch
git push -u origin main # pushes the files to the repo
Posted by: Guest on August-21-2021

Code answers related to "github save init repository to remote"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language