Skip to content
This repository was archived by the owner on Aug 30, 2023. It is now read-only.

Commit e0d7be7

Browse files
shivaylambaRishav986
authored andcommitted
Merged all commits
Signed-off-by: Rishav986 <starsiwach132003@gmail.com> Signed-off-by: Rishav986 <starsiwach132003@gmail.com> Signed-off-by: Rishav986 <starsiwach132003@gmail.com> Squashed Challenge7 Signed-off-by: Rishav986 <starsiwach132003@gmail.com> Create challenge_8.md Signed-off-by: Rishav986 <starsiwach132003@gmail.com> Signed-off-by: Rishav986 <starsiwach132003@gmail.com> Create Rishav986-2.md Signed-off-by: Rishav986 <starsiwach132003@gmail.com> Revert "Create Rishav986-2.md" Signed-off-by: Rishav986 <starsiwach132003@gmail.com>
1 parent d42ff5f commit e0d7be7

File tree

7 files changed

+113
-0
lines changed

7 files changed

+113
-0
lines changed

Challenges/challenge_10.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
## Welcome to Challenge 10
2+
3+
Welcome to the 10th challenge!
4+
5+
Today's challenge is based on the concept of signing your commits. Signing the commits is a way of showing that only authentic commits are being made.
6+
7+
A lot of open source projects have DCO which stands for [Developer Certification of Origin](https://github.com/apps/dco) including this repository itself and it tries to verify that each commit is signed or not. In case your commit is not signed it will reflect in the pull request that it doesn't pass the DCO test.
8+
9+
You can read more about how to sign commits [here](https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits)
10+
11+
Task:
12+
1. Setup the ability to sign commits locally in your systems
13+
2. Whenever committing in the future always try to use signed commits
14+
3. Make a new signed commit to the pull request that you have made in previous challenges by making this change to the ``yourusername.md`` file:
15+
```
16+
---
17+
name: your_name
18+
github_user_name: YOUR-GITHUB-USERNAME
19+
url_of_github_issue: Link_of_the_github_issue_created_in_first_challenge
20+
your_favroite_programming_language: Add your favorite programming language here
21+
---
22+
```

Challenges/challenge_5.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
## Welcome to Challenge 5
2+
3+
Welcome to the fifth challenge!
4+
Today's goal is to update your forked repository and then create a Pull Request
5+
6+
Task
7+
1. Ensure your forked repository is in sync with the latest changes in the main repository. Also ensure that the git branch that you created in Challenge 2 is also in sync with the latest changes
8+
2. Create a new folder inside the `contributors` folder, and name it with your github username. It should look something like this `contributors/<YOUR-GITHUB_USERNAME>/`. Ex.
9+
10+
```
11+
contributors/shivaylamba/
12+
```
13+
14+
3. Create a markdown file in the folder you created following the naming convention for the file: `<YOUR-GITHUB-USERNAME>.md`. Ex.
15+
16+
```
17+
contributors/shivaylamba/shivaylamba.md
18+
```
19+
20+
4. Copy the following template into your file, delete the placeholder text and fill the information with yours.
21+
22+
```
23+
---
24+
name: your_name
25+
github_user_name: YOUR-GITHUB-USERNAME
26+
---
27+
```
28+
5. Submit your Pull Request on the main challenge repo.

Challenges/challenge_6.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
## Welcome to Challenge 6
2+
3+
Welcome to the sixth challenge!
4+
Today's goal is to update your pull request that you created in [Challenge 5](https://github.com/scaleracademy/scaler-september-open-source-challenge/blob/main/Challenges/challenge_5.md?plain=1)
5+
6+
Task
7+
1. Create a new commit in the branch you created in Challenge 2 in your forked repository
8+
2. The change that you have to make should be the following:
9+
In the markdown file that was created in Challenge 5, edit the details as follows:
10+
```
11+
---
12+
name: your_name
13+
github_user_name: YOUR-GITHUB-USERNAME
14+
url_of_github_issue: Link_of_the_github_issue_created_in_first_challenge
15+
---
16+
```
17+
3. After making this change create a commit with a proper commit message and push the changes
18+
4. Check if the commit reflects in the Pull request you created in Challenge 5
19+

Challenges/challenge_7.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
## Welcome to Challenge 7
2+
3+
Welcome to the seventh challenge!
4+
Today's goal is to implement the squashing of the git commits. Squashing is used to combine multiple commits into one. This is done using the interactive mode of Git Rebase command.
5+
In the [6th Challenge](https://github.com/scaleracademy/scaler-september-open-source-challenge/blob/main/Challenges/challenge_6.md?plain=1) all of you created an additional commit to update the markdown file.
6+
So refer to [this guide](https://www.freecodecamp.org/news/git-squash-explained/) on Git merge.
7+
8+
Task:
9+
1. Using the interactive mode of Git Rebase command combine the multiple commits created in your Pull requests and then push that to the Pull request you have created in the previous challenges.

Challenges/challenge_8.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
## Welcome to Challenge 8
2+
3+
Welcome to the 8th challenge!
4+
5+
Today's challenge is simple. But along side the task, please give the [following article](https://www.atlassian.com/git/tutorials/undoing-changes/git-reset) a read, as this will be used in Challenge 9.
6+
7+
8+
Task:
9+
1. Inside the branch you created during the prior challenges in your forked repository, make a new file by the name of ``your-github-username-2.md`` and add any details you may want to add to this markwdown file and push the change
10+
11+
2. Ensure the change appears in the Pull request created in previous challenges

Challenges/challenge_9.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
## Welcome to Challenge 9
2+
3+
Welcome to the ninth challenge!
4+
5+
Today's task is a continuation of yesterday's task [Task 8](https://github.com/scaleracademy/scaler-september-open-source-challenge/blob/main/Challenges/challenge_8.md?plain=1).
6+
7+
Yesterday the task was to create an additional commit in your branch. And today's focus will be to remove that commit that has been pushed from the pull request created in previous challenges. The main purpose of this is because there can be times when you might push an unncessary or wrong commit and you way want to remove it from your pull request.
8+
9+
This can be done by using the following command: ``git reset``
10+
11+
Here is an article you can refer to for understanding how git reset works: https://www.atlassian.com/git/tutorials/undoing-changes/git-reset#:~:text=a%20shared%20repository.-,Summary,Index%2C%20and%20the%20Working%20Directory.
12+
13+
So the task is to identity the commit id of the commit you want to remove, use the git reset command, and remove the commit from the pull request by force pushing into it.
14+
15+
16+
Task:
17+
1. Identify the commit id that needs to be removed (you should have created this in the 8th Challenge)
18+
2. Use git reset and force push, to remove the commit from your pull request.
19+
3. Share a screenshot of this, in the issue you created in previous challenges.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
name: Rishav Siwach
3+
github_user_name: Rishav986
4+
url_of_github_issue: https://github.com/scaleracademy/scaler-september-open-source-challenge/issues/215
5+
---

0 commit comments

Comments
 (0)