1. First create a repository at github.com
2. Then install git on your system
http://git-scm.com/downloads
3. after installing open command prompt as Admin
4. then navigate to ur project folder in cmd
e:\myproject>
5. now we will type the git commands
2. Then install git on your system
http://git-scm.com/downloads
3. after installing open command prompt as Admin
4. then navigate to ur project folder in cmd
e:\myproject>
5. now we will type the git commands
- git init
- git add *
- git commit -m "first commit"
- git remote add origin https://github.com/<repository-URL>
- git push origin master --force OR git push origin master OR git push -u origin master
Eg.: e:\myproject> git init
6. Now you should be able to see your files in your github,com repository.
No comments:
Post a Comment