(if you belong to one or more organizations with appropriate permissions)
(see GitHub Desktop website)
Copy the repo URL:
Clone it with the git
command:
git clone [email protected]:YOUR_USERNAME/warsawjs-workshop-22-unit-converter.git
Enter the directory:
cd warsawjs-workshop-22-unit-converter
Create and checkout a new branch for a new feature:
git checkout -b feature/your-new-feature
or for a bug fix:
git checkout -b fix/some-bug
(Those branch names like feature/your-new-feature
or fix/some-bug
are just conventions but technically you can call them however you want.)
Now edit some files.
(You can make the changes before you create a new branch.)
Add the changed files with the git command:
git add frontend/index.html
Commit the added files to your branch:
git commit -m 'Your commit description'
Push the new commits on your branch to your fork:
git push origin feature/your-new-feature
Now go to your fork on GitHub or to the original repo Pull Requests:
Create a new pull request:
You will go a "Comparing changes" page.
In this example: rsp/warsawjs-workshop-22-unit-converter
In this example: "master". Usually called: "master" or "develop".
In this example: YOUR_USERNAME/warsawjs-workshop-22-unit-converter
In this example: feature/your-new-feature
Click "Create pull request", add a title, description and you're done!
Still any doubts? Please comment below.