Answers for "how to upload your files to github"

7

How to upload a files to a repository on github using gitbash

git init
git add .
git commit -m "message for the commit"
git remote add origin https://url-of-github-repo
git push origin master or git push -f origin master
Posted by: Guest on May-03-2020
1

upload github

echo "# browser-api" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/FazleyBin-Mahbub/browser-api.git
git push -u origin main
Posted by: Guest on September-05-2021

Code answers related to "how to upload your files to github"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language