Open taanii opened 1 year ago
https://github.com/taanii/scaler-september-open-source-challenge
git stash command
Adding new file in main
Switching in newbranch2 and changing file contents to create merge conflict
Merge conflict
Resolved merge conflict
Commands:
Cloning the repository
Making changes in local
Commit and Push
Pull from main
Pushing from newbranch
Pull request
Merging
Git Alias
Congrats you have successfully completed milestone 2 and you are good to move onto next milestone All the best✅️
Thank youu! @kuraakhilesh8230
Most of the repositories have a CONTRIBUTING.md
file or a markdown file, which consists of all the rules developers need to follow if they want to contribute to that particular repository.
It’s important to follow the GitHub flow for Open Source contribution
We can create issues as a user/developer for
And as an Open Source Contributor, our major aim is to solve all the ISSUES listed in the repository.
We can solve issues and add it as a Pull Request.
Branches should always be created from the development branch and not the main branch.
There are some recommended branch naming conventions that we need to follow in order to maintain uniformity, so that all the developers in that organization have clear idea of what you’re working on.
This is the list of permanent branches which is present in all repositories:
The list of temporary branches in any repository are:
Git Branching Naming Convention Rules
You can use unique ids and document them, and you can also use Issue id for the branches created to fix particular Issues.
Separation is necessary for readability.
If your project has more than two contributors, you can use your initials.
For example, I prefix ck- to all my feature branch names: git checkout -b ck-bug-tokenid
This also allows you to filter down to your personal branches with git branch -v | grep ck-
For example, use “Fix dashboard typo” instead of “Fixed” or “Fixes”
mermaid
function gpr() {
git push origin HEAD
if [ $? -eq 0 ]; then
github_url=`git remote -v | awk '/fetch/{print $2}' | sed -Ee 's#(git@|git://)#http://#' -e 's@com:@com/@' -e 's%\.git$%%'`;
branch_name=`git symbolic-ref HEAD 2>/dev/null | cut -d"/" -f 3`;
pr_url=$github_url"/compare/main..."$branch_name
open $pr_url;
else
echo 'failed to push commits and open a pull request.';
fi
}
Use this to create a PR directly from your CLI
Commit messages should be followed by these keywords to get a more clear understanding of what the commit is about.
Example: test: add unit test for login
Updates:
Updates:
Congratulations you have successfully completed milestone 2 and good to go ✅️
Updates:
I am contributing to the following repositories:
[ OUT OF BONUS ] YOUR PR/MRS MUST BE WITHIN THE BOUNDS OF HACKTOBERFEST.
[ EXCLUDED ] REPOS THAT GO AGAINST HACKTOBERFEST’S VALUES WILL BE EXCLUDED FROM QUALIFICATION AND PR/MRS MADE TO THOSE REPOS WON’T COUNT.
[ SPAM ] YOUR PR/MRS MUST NOT BE SPAMMY.
[ PARTICIPATING ] YOUR PR/MRS MUST BE IN A REPO TAGGED WITH THE “HACKTOBERFEST” TOPIC, OR BE LABELED “HACKTOBERFEST-ACCEPTED.”
[ INVALID ] YOUR PR/MRS MUST NOT BE LABELED AS “INVALID”.
[ ACCEPTED ] YOUR PR/MRS MUST BE MERGED, HAVE THE “HACKTOBERFEST-ACCEPTED” LABEL, OR HAVE AN OVERALL APPROVING REVIEW.
ONCE YOUR PR/MRS PASS ALL THE CHECKS ABOVE, IT WILL BE ACCEPTED FOR HACKTOBERFEST AFTER THE 7-DAY REVIEW PERIOD.
Updates:
Updates:
Congratulations you have successfully completed milestone 4 and I hope you have had a great experience in this 30 days and learned something about this github and open source projects 🎊🎊
Scaler Open Source Challenge is when I started my open source journey. This challenge was well paced and covered almost all important concepts which are required to contribute in open source.
It was an awesome experience where I learnt GitHub and Open Source practically, by implementing everything. This practical experience gave me confidence to contribute to the real open source projects, and also helped me to learn many other skills like team work, consistency, content writing, and networking.
Scaler Discord community has also helped me a lot and I am so happy to discover and be a part of Scaler Discord community!
Special thanks to @shivaylamba for adding such great tasks to the challenge, and thanks to @kuraakhilesh8230 @TeralaShivaKumar and the other Scaler Stars for guiding me.
Congratulations you have successfully completed milestone 4 and I hope you have had a great experience in this 30 days and learned something about this github and open source projects 🎊🎊
Thank you! @kuraakhilesh8230
name: Chaitanya Keerthi github_user_name: taanii