Basic Workflow - #Git Tutorial for Absolute Beginners from Zero to Hero - Part 3

preview_player
Показать описание
In this video we will learn about the most basic git workflow. Create a branch, make your changes, commit them, push your branch, create a PR, repeat.

A nice vim distribution:

This video is part of the following playlist:

Table of Contents:
00:00 git remote
02:17 a common git workflow
03:43 create a branch
05:36 make your changes
07:54 stages some or all of your changes
10:10 commit your changes
12:48 look around
21:43 push your new branch with your new changes
24:11 create a pull request (PR)
29:42 pull origin/main to update your copy of the repository
33:13 delete your local branch

Cheers and Happy Coding!

#SCM #VCS
Рекомендации по теме
Комментарии
Автор

Table of Contents:
00:00 git remote
02:17 a common git workflow
03:43 create a branch
05:36 make your changes
07:54 stages some or all of your changes
10:10 commit your changes
12:48 look around
15:38 commit more changes with your core.editor
21:43 push your new branch with your new changes
24:11 create a pull request (PR)
29:42 pull origin/main to update your copy of the repository
33:13 delete your local branch

DevInsideYou
Автор

Also, sorry if you covered this in subsequent videos, two comments
1. Instead of doing explicit `git add .`, one can do `git commit -am "comment goes here". But only if files are modified, not added
2. Github can delete branches after merge if you tell it to do it in settings, that's relatively new option

EugenePlatonov