Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

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 
Source by docs.github.com #
 
PREVIOUS NEXT
Tagged: #github #save #init #repository #remote
ADD COMMENT
Topic
Name
3+3 =