the best way to upload your code to Github is via the command line,
GitHub
git init
git status
git add -A (if any changes file or to add everything at once)
git commit -m "files added" ( update all file origin master)
git config --global user.email "you@example.com"
git config --global user.name "your name"
git remote add origin https://github.com/ajayvishu/testgithub.git
git push origin master (if u add other file github than u can this command)
-------------------------------------------
git clone (capture file other user)
git pull origin master (updated file get from github cloud server)
GitHub
git init
git status
git add -A (if any changes file or to add everything at once)
git commit -m "files added" ( update all file origin master)
git config --global user.email "you@example.com"
git config --global user.name "your name"
git remote add origin https://github.com/ajayvishu/testgithub.git
git push origin master (if u add other file github than u can this command)
-------------------------------------------
git clone (capture file other user)
git pull origin master (updated file get from github cloud server)
0 Comments
if you have any doubts , please let me know