tylermlui/SvelteKit-Demo
Fork the repository by clicking on the fork button on the top of tylerlui/SvelteKitDemo
. This will create a copy of this repository in your account.
Now clone the forked repository to your machine. Go to your GitHub account, open the forked repository, click on the code button and then click the copy to clipboard icon.
Open a terminal and run the following git command: git clone "url you just copied"
(without the quotation marks).
Change to the repository directory on your computer (if you are not already there): cd SvelteKitDemo
Now create a branch using the git switch command: git switch -c your-new-branch-name
For example: git switch -c add-ethanthatonekid
Create a new folder inside src/routes
name this folder your github username. Once you create the folder it should be in this structure src/routes/yourusernamehere
. Then add a +page.svelte file within this, and start adding changes!
Please refer to any of the example folder and file at /src/routes/tylermlui
Add those changes to the branch you created using the git add
command:
git add .
And commit them with a short description, using the git commit
command (replace gh-user
with your GitHub username):
git commit -m "Added gh-user route"
Push your changes using the command git push
:
git push origin -u add-your-branch-name
replacing <add-your-branch-name>
with the name of the branch you created earlier.
If you go to your repository on GitHub, you'll see a Compare & pull request
button. Click on that button.
Now submit the pull request.
Soon, someone will be merging all your changes into the master branch of this project. You will get a notification email once the changes have been merged.