Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

push git repo to github

# Create a new repository on the command line
 
touch README.md
git init
git add .
git commit -m "first commit"
git remote add origin https://github.com/c0ldlimit/vimcolors.git
git push -u origin master
 
# Push an existing repository from the command line
 
git remote add origin https://github.com/c0ldlimit/vimcolors.git
git push -u origin master
Source by github.com #
 
PREVIOUS NEXT
Tagged: #push #git #repo #github
ADD COMMENT
Topic
Name
3+1 =