How to push files with git to github

josh360 profile image JOSH-360 ・1 min read

Hi guys! I have been finding it difficult using git to push to github, but today i have been able to link both... I need help pushing my files to github with git


Editor guide
roelofjanelsinga profile image
Roelof Jan Elsinga

First you'll need to stage your files, which means you select the files you want to upload. If you want to select all, use this:

git add .

The you'll need to make a commit to describe what you've changed:

git commit -m "This is what I changed"

Then finally you can upload everything to GitHub:

git push origin master