+ 3

How do I add my project to Github?

3rd May 2017, 4:21 PM
buggythegret
buggythegret - avatar
3 Respostas
+ 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! :)
3rd May 2017, 4:30 PM
Thanh Le
Thanh Le - avatar
+ 24
Umm....by googling the same question ? 😓
3rd May 2017, 4:25 PM
Frost
Frost - avatar
0
pls make a yt vid
18th Jul 2023, 9:07 PM
Rita Quarne