RUVIDEO
Поделитесь видео 🙏

How to Contribute to an Open-source project with GitHub | GitHub Fork & Pull Workflow for Beginners

📁 Обучение 👁️ 21 📅 04.12.2023

In this video, I will show you how to Contribute to an Open Source Project using GitHub.
In general, we contribute to open-source projects following the fork-and-pull" Git workflow
Install Git on your OS
https://git-scm.com/book/en/v2/Getting-Started-Installing-Git
1. Fork the repository to your own Github account
2. Clone the project to your machine
```
git clone https://github.com/"your-github-username"/Mumble.git
```
3. Add Upstream or the remote of the original project to your local repository
```
# check remotes
git remote -v
git remote add upstream https://github.com/divanov11/Mumble.git
```
4. Make sure you update the local repository
```
# Get updates
git fetch upstream
# switch to master branch
git checkout master
# Merge updates to local repository
git merge upstream/master
# Push to github repository
git push origin master
```
5. Create a branch locally with a succinct but descriptive name
```
git checkout -b branch-name
```
6. Commit changes to the branch
```
# Stage changes for commit i.e add all modified files to commit
git add .
git commit -m "added git commands for "fork-and-pull" Git workflow"
# check status
git status
```
7. Following any formatting and testing guidelines specific to this repository
8. Push changes to your fork
```
git push origin branch-name
```
9. Open a PR in our repository and follow the PR template so that we can efficiently review the changes.
10. After the pull request was merged, fetch it and update the default branch of your fork


#### NB
1. You have to install Git for your operating system
https://git-scm.com/book/en/v2/Getting-Started-Installing-Git
2. Never Commit on the default branch, commit on branches then make a pull request
3. After making changes, if you want to make another change make sure you branch from the default branch because if you branch from branch-name, this will contain the changes from the 1st pull request except for the new pull request you working on requires the changes from the first pull request
```
# check present branch
git branch
# switch to master branch
git checkout master
# create new branch for new changes
git checkout -b 2nd-test-branch
# make new changes and push to your fork
```
4. After the pull request was merged, fetch the upstream and update the default branch of your fork

?? Thanks for watching??♂️
?? LIKE, SUBSCRIBE, AND SHARE
If you have any questions, do not hesitate to comment or send us a mail. We will reply as soon as possible.
Thanks

Let's Connect
? GitHub: https://github.com/itzomen
? LinkedIn: https://www.linkedin.com/in/peng-boris-akebuon-0b8ba0195
? Twitter: https://twitter.com/itz_omen

Background Music produced by H3 Music
https://www.youtube.com/channel/UC1nH4RqASg6DK2WgfPjyh5Q

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «How to Contribute to an Open-source project with GitHub | GitHub Fork & Pull Workflow for Beginners», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.

Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!

Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.