GitHub: How To Sync A Fork Repository With An Upstream Repository Using Git Commands

Опубликовано: 02 Май 2021
на канале: Manoj Kulkarni
355
18

While contributing to various open-source projects on GitHub, it is important for us to keep our fork repository in sync with an upstream repository. This video shows how to sync the fork repository with an upstream repository using simple git command.

🔗 Reference Links:
1. https://git-scm.com/docs/git-remote
2. https://git-scm.com/docs/git-fetch
3. https://git-scm.com/docs/git-merge
4. https://git-scm.com/docs/git-push

🔗 Don`t forget to subscribe to the channel: https://www.youtube.com/c/ManojKulkar...

Also, click on the 🔔 icon to get a notification of a new video.

🕓 TimeStamp:
0:00 Intro
0:14 Brief Info About Fork And Upstream Repository
1:02 Checking Out Default Branch (master)
1:29 Listing Out Remote Repositories
2:05 Adding New Remote For Upstream Repository
2:28 Getting The Upstream Repository Link
3:14 Fetching Metadata From Upstream Repository (git fetch)
4:00 Merge The Changes From Upstream Default Branch (git merge)
4:32 Pushing The Changes To Fork Repository
5:20 Outro

🔗 Follow:
GitHub: https://github.com/manojkulkarni30
Twitter:   / manojkulkarni30  

#github #syncfork #git #opensource #upstream #forkrepository


Смотрите видео GitHub: How To Sync A Fork Repository With An Upstream Repository Using Git Commands онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал Manoj Kulkarni 02 Май 2021. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 355 раз и оно понравилось 18 посетителям.