+ 4

How to add files on github?

i don't know anythin about github. I created a repository from my browser. but now I don't find any option to add files. What can I do and how can I manage different versions of my code?

3rd Nov 2020, 2:06 PM
Sadman Sakib
Sadman Sakib - avatar
6 Réponses
+ 7
Click upload files on your repo More info: unofficial github and git docs: https://try.github.io/ official github and git docs: https://docs.github.com/ learn git: https://git-scm.com/doc
3rd Nov 2020, 3:01 PM
Galaxy-Coding (inactive)
Galaxy-Coding (inactive) - avatar
+ 7
Sakib When i didn't know anything about git or github, i searched on youtube for a playlist that could teach it to me, and this is that playlist: https://www.youtube.com/playlist?list=PL4cUxeGkcC9goXbgTDQ0n_4TBzOO0ocPR
3rd Nov 2020, 3:18 PM
maf
maf - avatar
+ 6
Create a repository on GitHub.com Download git https://git-scm.com/downloads With the command "git init" make a empty .git folder. Now git knows that it is a git repository now. Login with your GitHub account. Use git add . to add everything to a stageing area. All added files can be pushed to github later. With "git commit -m "Title"" you can make a commit. In the text "Title" you can write a little commit message like "added the first files." Finaly with the command "git push set-upstream origin master" you can push the Code to your github branch. See also: https://www.youtube.com/c/GitHub https://www.sololearn.com/Discuss/1273720/?ref=app https://docs.github.com/en I hope this answer helps in the beginning. Its very difficult to explain it in the beginning. But starting, searching online for help and practise makes you perfect. I started useing git and github about 3 weeks ago and I now just the very basic. Not more. But with learning and much experiance everything is going to be better and easier. Happy Coding and version controlling. Robin
3rd Nov 2020, 2:34 PM
Julian
Julian - avatar
+ 3
GitHub is a tool for managing online Git repositories. You need to learn Git first
3rd Nov 2020, 2:18 PM
Ore
Ore - avatar