-
Now suppose you want to submit the code you wrote for DC motor on Arduino. DC motor is a type of an Actuator so click on
Arduino
and then onActuator
.
-
If the folder with your name does not exist you'll need to create the folder. Empty folders can't be created in git. To make a folder, go to
Add File -> create new file
: -
to make a folder write folder name (here your name in format:
firstName-lastName
) followed by a forward slash/
-
After this create a temporary file with some random content or code file with your code along with appropriate file extension (eg .ino, .c, .cpp etc)
-
Scroll down to write a commit message and commit to main branch.
These were the steps to fork the main repository and create a folder with your name.
Next part is submitting code and uploading files.
-
Now you can traverse to the folder and upload your code files by
Add file->Upload files
-
Make sure base repository is the repository you are merging to and head repository is your repository. Make sure the brances are correct. For simplicity's sake, we'll only use main branch. Then click on
Create pull request
: -
Write a commit message about the code that you are uploading and click on
Create pull request