This repository is a collection of useful resources used in the git-webinar to help you understand Git and make your first contribution to an open-source project.
-
View the Introductory video to understand what to expect out of this session.
-
Refer this medium article to explore more about Git.
Git is an open source distributed Version Control System (VCS).
Explore the power of Git when it comes to -
(a) The speed with which the files are moved between different stages of modifications.
(b) Easy branching and merging.
(c) Easy sharing and collaboration of your source code.
(d) Time-travel through the project history and undoing the past changes
-
Read through the Webinar slide for a complete hands-on tutorial.
-
Watch the video on how to add your project files to the local Git repository.
-
Visually understand the concept of branches in a Git repository.
-
Watch the screenshot recording on how to synch up local and remote repository, as you push your commits to the remote repo.
-
Watch the video that shows how to create a PR(Pull Request).
Kindly feel free to post in your questions, comments and suggestions -> here
Create a GitHub account if you do not have one already!!!
1.Fork this repository. Click on the symbol at the top right corner.
2.Clone the forked repository from your Github page. Click on the green Code button to copy the clone url link.
git clone https://github.com/<your-github-username>/git-webinar.git
3.Navigate to the project directory on your local machine.
cd git-webinar
4.Add/modify, stage and commit
# Open your favourite editor and add yourself to the contributors list
echo "your-name;College/Company_name;beginner">>contributors.txt
# Stage the file
git add contributors.txt
# Commit to your local repo
git commit -m 'Add me as a contributor'
5.Push from local repo to GitHub repo (account)
git push origin
6.Create a PR
!!! Video will be uploaded soon
Click on Compare across forks.
This compares your forked repo and the git-webinar repo for the additional commits that you created.
Click on the Create pull request button.
Note:
The default PR template comes up, fill in what's appropriate for your changes.
- Congratulations!, you've made your first open-source contribution.
This is just the beginning !!!
Go ahead and explore awesome git repositories and contribute your innovative ideas.
-
Pro Git ebook written by Scott Chacon and Ben Straub.
Repository Admin: Divya Bhushan
Source code: Git-webinar
👏 Thank you all for attending the Webinar
<script async src="//www.instagram.com/embed.js"></script>View this post on InstagramA post shared by StuCred. Stay Home, Stay Safe. (@stucred_) on Jun 30, 2020 at 3:55am PDT