DEV Community

Discussion on: How to push files with git to github

Collapse
 
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