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

Commit b90fe0e

Browse files
shivaylambakishanrajput23
authored andcommitted
parent 8208c7f
author Shivay Lamba <[email protected]> 1662013042 +0530 committer Kishan <[email protected]> 1663007880 +0530 gpgsig -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE/gZ84gKdIZ3MfJvKqt2+DnQi3HsFAmMffIgACgkQqt2+DnQi 3HtggxAAnM/LWprbLhjni7OHHp/hDtxVAE9EridMU88fR78k96iZ6LFu5/u34+Zm ucWizEPHsyJYWINM1mhs3xdctdYogk8HlvFU2ZLUv6K8Ur2GaNRLhajSfoOSlf3A PyYE/muRERHIlyv2c0oYMX8qX7RdCuZrqVjjUQWJ+AprQbrLvyYPBqHeFgLU/J9l gfTfmkYukZCSng+HUIZxki8+VLWBCQsLp6jkJfcudWUUm1SFB2DQpA5qHsuW1zHI ZgEns3B8eIaKMptqf6cSOETUXCQrjSmfIAW0A/bDbwLDHQuE7K2f4wv7gTEUcjnz n0RZ9qdQP550CD/zhDcSbYMyTxGBZDwDluUiAqG9UCYYvAIshbQPzQOgDE/PH1QD bYD+YNxXw1E6J6R656hyUxrvdbniyieAyKjuheeahlywXOm9aKsCE3Ij+eY5We6Q ky8Bp0d3vZDT8pM2zJLdp0AyJOHUbq1N5YPwomffQugGZCQvyR5w1FrUrChgn6/Z 0C4Rbnkun4QvX8TBsB4TRPxC1yI9hCGpJhgFvXx35IyXVveTyq/Ev8utth+TOgsK sbUBZWAD4wi5hODJgPVey8rgPwGWritqqpOMLb6L+6mN+je718+tGnwKDztBJEGT I4cQZ+kGn+vZ1R2L6YwCpOHiw03GKk94zZtKacBuBErZYdxijUA= =NSiC -----END PGP SIGNATURE----- parent 8208c7f author Shivay Lamba <[email protected]> 1662013042 +0530 committer Kishan <[email protected]> 1663007876 +0530 gpgsig -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE/gZ84gKdIZ3MfJvKqt2+DnQi3HsFAmMffIQACgkQqt2+DnQi 3HsY/A/9Gf0qCc+GDxVEdrIHD1W5mz5pOFt8+vbi7vpak08QCBL/1oY2wOFgRET3 2bgQ+HYU4+uTODVSlgr1drJMFP+/FugMh1l9Cz7eNJytTL7i3zCUeuRTZ/JC+bBY 6jabAeNC9YDHb1R+y5lE5rAOqn4ojbhup3Sqavtb3U/cSWTTqUK43/N/wi9xEX/a 38fbaNWqRQDi5NRazLo7b+xIUBjogQMY4XQm3E90ZGuoxB0CS11gYQGoabNS1KYY RxD9fhTzkkqWRQpxhZ4XkK2PVuD3wNQT4ryaDes3DCc2k42qO8EZnB8QbEZfC5gE lJDlvra39F5yU8ZT2zIDq0CI1DUKRVHOW0K3cmBmcKFYjOnA/i0T4nmszz557N3l 2Lr6WlC2KZiFNW+RxXG2oLKHlSmlzYisZAUGFf6wIXdV6FjTFBovYmo25Rr1gSqC 9i/g7UY+twLaeiDyiaBEkWLtDVSadTyodKjqTy9tbIRvalkrFJwvCVG5vCz7jkgZ D4CC9BUMXvDMIyVbtH3u55fF4EZ+u0IgtKETmOE9RsU7OPCY7q/fJZDaIrnU2w9F rSJrsVViI6E66ItMl3Yy+a7hGssIkQ3oMjyFK5xmuGjd7ZteQ4FSctQjZikSZzpY cJAlx3+FtlqxMouBdSYswDIsDkYtkZrCDDktIuu6+3gxYpRVnpc= =xRyQ -----END PGP SIGNATURE----- parent 8208c7f author Shivay Lamba <[email protected]> 1662013042 +0530 committer Kishan <[email protected]> 1663007849 +0530 gpgsig -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE/gZ84gKdIZ3MfJvKqt2+DnQi3HsFAmMffGkACgkQqt2+DnQi 3Hv/wA/9FqxMLnlLRpQV9+zKYf3K4UgmkGzT3sPGKBeni07JYUsk5UUL3180Cvn1 Y9l7ednjdc6XFcZs65/iqckTWoEEJUzVsi4WmIWSLPhfUoA3zjBwLtJcoYpnqGZu TsyEcHd0WhfXIOJwUD6ne/GtFeW1AgZvwNjZjtPmO688nt38GNv6LIYaL8GCyTiE +rTJXouSrn2s0bX8SwhRfn4YdJ7Kcd7C0W0P9Mv657/4+YEPygxO6wnis4J+/nZd 1AjRikxliszPRmxlaSzzl/kZ4b1v+ovVMW4SGACT7YCOM/MtH7LPDz/4olulW6g0 QGwgkAkVnBMSYjU7gu2Yczy9CuB4FysHpPZDE9QRSj5sVgqcFpCm2uouQ4hwohop P3TlOHTK16aMfbDSBwPxDotxBDb6BePmT56WEdgC1WdW9zZh+EgsdKz1g+oy+ep/ 7urm1s6GNSIPHkHP0W1YKafXu6BJeHzXadn7C8qNehBv15dRmElknLXwhUj1bh6E SIUb7CwOQAlQYCoSLPi1LpabSpYSTrKymqflczQzUGdtmfv9SxnSTmMYHkZkJJzH zRujChWXXR7IfatREYJsgUktvZQOj+rCLMCrsa1VnMlwX59EgPtfgO7+qsXX3ZAZ TNkmaBhLfikO4C7winoCCHPjxraTudTzYRodhrdq3unwstjAJEk= =DLPn -----END PGP SIGNATURE----- parent 8208c7f author Shivay Lamba <[email protected]> 1662013042 +0530 committer Kishan <[email protected]> 1663007836 +0530 gpgsig -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE/gZ84gKdIZ3MfJvKqt2+DnQi3HsFAmMffFwACgkQqt2+DnQi 3HtAtBAApSBNPNsTFgaCknv6cyOfVUMe5B5TylVFLR/7Lzk2VssjHIuKDThWVOYz iddTWJwSA+V7i1OxqFmUkKvPldqbJNZY/kDGM1nG2COvHRFg9kzBSLo3Xwivstob D+1PPff/PDf53Wg2hmIyG64upwwAkDs/8qlnnp5Kgm0rr6/s13gvRqK50ZwSPYXL gYImU2egG3M4Lgj3QzJaPjG0nO6iuW5gR+Wa7zoyPHN+jLKw2pMNdWSrx+GnhOqg FExVsc3TTdoEm+SrvPeQwm1V9xRZ6Z6NM2ItPi7B9mP/rtv9PAKDVatB83OdhjJb qWatI0dVZPlYgZH7qiH+qLtnjBoESb6DmOb+7iWdK+EWtKVnHkzouO9eChtKlyjp JRagauS069Yh44BuuC+bbu8A3HSfjIdap7ipyvxTMcle5MJPNltHJU+UWCrjXWSK /KfiSMFcUCcrb7nwSABWEjPLADgwEBB3yLobrUmhUUrkOhKu/LuCi32ffH5HcW3E +3Kw4mQ/BtjAl2wPQzySeDHREzbz7h9nvDH9A6p1co71IZjcYjf4SNRhqbpoEUb7 a6WyBvxFU0fnG3Og49Ewi71hYVw5myPdFaACbegeXi59x8WDsA71NiAP1/DmNMT9 QZIBo5AYhOQG5+CpMFQaxn4OLFJjK40F0ZSy+DnL/Js/BrebSfA= =aaax -----END PGP SIGNATURE----- Signed-off-by: Kishan <[email protected]> Squash All Commits Signed-off-by: Kishan <[email protected]>
1 parent 8208c7f commit b90fe0e

14 files changed

+182
-1
lines changed

Challenges/challenge_1.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
## Welcome to Challenge 1
22

33
Welcome to the first challenge!
4-
We will start off with an easy task.
4+
We will start off with an easy task.
5+
6+
Task:
7+
Create a [new issue](https://github.com/scaleracademy/scaler-september-open-source-challenge/issues/new) on this repository with the following details to be added to the content of the issue:
8+
9+
```
10+
name: Add your name here
11+
github_user_name: add your github username here
12+
```

Challenges/challenge_10.md

+22
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_11.md

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
## Welcome to Challenge 11
2+
3+
Welcome to the 11th challenge!
4+
5+
Today's challenge is simple.
6+
7+
Task:
8+
1. Create another branch from your current branch created in previous challenges (Don't create a new branch from main).
9+
2. Share screenshot of this new branch in the issue created in previous challenge

Challenges/challenge_12.md

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
## Welcome to Challenge 12
2+
3+
Welcome to the 12th Challenge
4+
5+
Today's challenge is a re-practice of the 7th Challenge (https://github.com/scaleracademy/scaler-september-open-source-challenge/blob/main/Challenges/challenge_7.md?plain=1)
6+
7+
So focus for this challenge will be to practice the ``git rebase`` command. We still see a number of Pull requests that have a lot more commits than there should be, therefore we give you a chance to correct it again.
8+
9+
Ensure to practice the ``git rebase`` command by creating your own local git repository. You can checkout this guide: https://www.freecodecamp.org/news/git-squash-explained/
10+
11+
Task:
12+
1. Practice git rebase, and how to squash commit using git rebase in your local projects
13+
2. Once done, try to squash the commits in your pull request in the Challenge repository
14+
3. We also see a lot of challengers are not signing their commits. Refer to Challenge 10: https://github.com/scaleracademy/scaler-september-open-source-challenge/blob/main/Challenges/challenge_10.md and ensure to sign your commits.

Challenges/challenge_2.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
## Welcome to Challenge 2
2+
3+
Welcome to the second challenge!
4+
Today we will focus on how to fork and create a clone of a Github repository
5+
6+
Task:
7+
1. Create a fork of this repository
8+
2. Clone the forked project locally in your system using the ``git clone`` command
9+
3. Add a new comment to the issue you created in the [first task](https://github.com/scaleracademy/scaler-september-open-source-challenge/blob/main/Challenges/challenge_1.md). The comment should have the following:
10+
- URL of your forked repository
11+
- A screenshot of the cloned project in your system

Challenges/challenge_3.md

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
## Welcome to Challenge 3
2+
3+
Welcome to the third challenge!
4+
Today we will focus on how to create a new branch in a git repository
5+
6+
Task:
7+
1. Following up on the [previous task](https://github.com/scaleracademy/scaler-september-open-source-challenge/blob/main/Challenges/challenge_2.md), create a new branch locally in your forked clone repository
8+
2. The branch name should be as follows: ``your_github_username-details``. Example: ``shivaylamba-details``
9+
3. Add a new comment to the issue you created in the [first task](https://github.com/scaleracademy/scaler-september-open-source-challenge/blob/main/Challenges/challenge_1.md). The comment should have the following:
10+
- Screenshot showing the list of all the current branches inside of your forked clone repository

Challenges/challenge_4.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
## Welcome to Challenge 4
2+
3+
Welcome to the fourth challenge!
4+
Today we cover how to Update Fork Repo From the Original Repo
5+
6+
The main repository has been updated since the last fork that all of you created. The goal is to updated the forked repository with the changes made in the original repository. This can be done with the git command of ``git remote add upstream``
7+
8+
Task
9+
1. Update your forked repository locally with the content of the original repository for both the main branch and the branch that you created in Challenge 3 using the ``git remote add upstream`` command
10+
2. Once the changes in the forked repository and the original repository are synced in the git branch that you created in the 3rd Challenge, Add a new comment to the issue you created in the [first task](https://github.com/scaleracademy/scaler-september-open-source-challenge/blob/main/Challenges/challenge_1.md). The comment should have the following:
11+
- Screenshot showing the latest repository contents

Challenges/challenge_5.md

+28
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

+19
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

+9
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

+11
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

+19
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.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
name : Kishan Kumar Rai
3+
github_user_name : kishanrajput23
4+
url_of_github_issue : https://github.com/scaleracademy/scaler-september-open-source-challenge/issues/109
5+
your_favroite_programming_language: Python
6+
---
+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
name: Shivay Lamba
3+
github_user: shivaylamba
4+
---

0 commit comments

Comments
 (0)