+ 3
How do I add my project to Github?
3 Answers
+ 5
First make sure you have git installed on the machine where your project is. Then follow these steps:
1) Go to your gitHub account and create a new repository, e.g. 'yourProjectName'
2) In your terminal, go to your project-folder with the command 'cd path/to/your/project'
3) Then initialize that folder with 'git init'
4) Add all the files within that folder to commi with 'git add .' (<-- don't forget the dot at the end)
5) Write your commit message 'git commit -am "your commit message"'
6) Connect your remote repository with your local project: git remote add origin https://github.com/yourUserhandle/yourProjectName.git
7) Finally push it to gitHub with 'git push -u origin master'
8) ...maybe you will be asked for your gitHub credetials if you haven't saved it yet...
Hope that helps. Good luck! :)
+ 24
Umm....by googling the same question ? đ
0
pls make a yt vid