Answers for "create a git repository from local machine and push it online"

0

create a git repository from local machine and push it online

#initialize 
git init 
# add your URL , it can be local or remote one 
git remote add origin <YOUR_URL>
# commit something
git add *
git commit -m "your message"
# push to your repository 
git push origin master
# you can then go and check online
Posted by: Guest on January-19-2021

Code answers related to "create a git repository from local machine and push it online"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language