diff --git a/Challenges/challenge_10.md b/Challenges/challenge_10.md new file mode 100644 index 000000000..bbe1a7709 --- /dev/null +++ b/Challenges/challenge_10.md @@ -0,0 +1,22 @@ +## Welcome to Challenge 10 + +Welcome to the 10th challenge! + +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. + +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. + +You can read more about how to sign commits [here](https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits) + +Task: +1. Setup the ability to sign commits locally in your systems +2. Whenever committing in the future always try to use signed commits +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: +``` +--- +name: your_name +github_user_name: YOUR-GITHUB-USERNAME +url_of_github_issue: Link_of_the_github_issue_created_in_first_challenge +your_favroite_programming_language: Add your favorite programming language here +--- +``` diff --git a/Challenges/challenge_9.md b/Challenges/challenge_9.md new file mode 100644 index 000000000..895473b94 --- /dev/null +++ b/Challenges/challenge_9.md @@ -0,0 +1,19 @@ +## Welcome to Challenge 9 + +Welcome to the ninth challenge! + +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). + +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. + +This can be done by using the following command: ``git reset`` + +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. + +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. + + +Task: +1. Identify the commit id that needs to be removed (you should have created this in the 8th Challenge) +2. Use git reset and force push, to remove the commit from your pull request. +3. Share a screenshot of this, in the issue you created in previous challenges. diff --git a/bb b/bb new file mode 100644 index 000000000..e69de29bb diff --git a/contributors/shahnok007-2.md b/contributors/shahnok007-2.md new file mode 100644 index 000000000..ad43ca022 --- /dev/null +++ b/contributors/shahnok007-2.md @@ -0,0 +1,2 @@ +#challenge 8 completed +#update in shahnok007-details diff --git a/contributors/shahnok007/shahnok007-2.md b/contributors/shahnok007/shahnok007-2.md new file mode 100644 index 000000000..ad43ca022 --- /dev/null +++ b/contributors/shahnok007/shahnok007-2.md @@ -0,0 +1,2 @@ +#challenge 8 completed +#update in shahnok007-details diff --git a/contributors/shahnok007/shahnok007.md b/contributors/shahnok007/shahnok007.md new file mode 100644 index 000000000..1a3584f55 --- /dev/null +++ b/contributors/shahnok007/shahnok007.md @@ -0,0 +1,5 @@ +--- +name: SHAHNAWAZ KHAN +github_user_name: shahnok007 +url_of_github_issue: https://github.com/scaleracademy/scaler-september-open-source-challenge/issues/16 +--- diff --git a/shahnok007.md b/shahnok007.md new file mode 100644 index 000000000..7ddf0a775 --- /dev/null +++ b/shahnok007.md @@ -0,0 +1,4 @@ +name: SHAHNAWAZ KHAN +github_user_name: shahnok007 +url_of_github_issue: https://github.com/scaleracademy/scaler-september-open-source-challenge/issues/16 +your_favroite_programming_language: C++