Articles Snippets Projects Uses

Pushing to GitHub

8 months ago January 1st ʼ21

2 min 294 words

On the project folder, initialize git

git init

Configure your git email and name

git config user.email "[email protected]"
git config user.name "Yunus Emre Deligöz"

Stage all project files

git add .

Check what files will be committed

Commit all files

git commit -m 'Initial Commit'

Add the remote GitHub repository

git remote add origin https://github.com/deligoez/blindnote.git

Push to remote master repository

git push -u origin master

Check out GitHub to see that we pushed successfully