upload file to github command line

Posted by pavan - 1 year ago

upload file to github command line

All the command to use upload the file and projects on github.

cd/your project directory

1) git init
2) git add . or git add ['filename']
3) git commit -m "My first File"
4) git remote add origin https://github.com/yourusername/your-repo-name.git
5) git pull origin master
6) git push origin master

upload file to github command line