1.- Check your data by writing on the terminal:
$ git config --global --list #email and name will appear together
$ git config --global user.email #exclusively for email
$ git config --global user.name #exclusively for username
2.- Do you have corrections to make? Change your email and username so they match your Github info, and your repo gets updated on every commit:
$ git config --global user.email yournew@email.com
$ git config --global user.name yournewgoodname
- Check this tutorial for the most common commands:
$ git add
$ git commit #add -m "message here" if you wanna add a message
$ git push
$ git pull
- Make sure you got GitHub Pull Request and Issues extension on VS Code, as well
-
Click
Forkon this page and create your own fork off this repo -
Once it's ready, enter VS Code and press
Control + Shift + P. Then, selectGit: Cloneand find your fork. Select a folder to store the files, and should be ready to go -
Try making some changes on the
testing.pyfile and then commit them:
$ git add . #adds every file
$ git commit -m "your message here"
$ git push
Keep in mind, these changes are staged to your own repo! not the main one
- First, make sure there are no changes made before you try, and solve any issues that may appear:
$ git pull
- If there's issues, you will have to solve them using the merge editor
- You won't be able to instantly merge because of this repo' settings. Instead, go to
Pull Requestand make one, I'll look into it and accept the merge if everything is cool. Then, your commits will appear on the main branch! - Keep in mind, you might have to sync changes in your fork. Check your fork and clic
Sync Forkif that's the case, and make changes to your code if neccessary