initialize git
rust\me> git init
Add remote repository
rust\me> git remote add origin https://github.com/gunabalans/webservice.git
add files to local git
F:\me\rust\me> git add .
commit with message
F:\me\rust\me> git commit -m"initial commit or any message"
force push the content to remote (means origin) repository (here mine is master)
F:\me\rust\me> git push -f origin master
rust\me> git push -f origin master
done
No comments:
Post a Comment