Work with the GitHub Workflow | Git and GitHub Basics

Опубликовано: 28 Ноябрь 2022
на канале: Saurabh Infotech Solutions
5k
7





Git and GitHub Basics:

The GitHub flow is a lightweight workflow that lets you experiment with new ideas safely, without fear of compromising a project. The main steps are:

Create a branch off of main
Make commits
Open a pull request
Collaborate
Make more commits
Discuss and review code with team members
Deploy for final testing
Merge your branch into the main branch
Create a Branch
Branching is a key concept within Git. Everything in Git lives on a branch. By default, the production version of your project lives in the main branch.

When you’re ready to experiment with a new feature or fix an issue, create a new branch of the project. The branch will look exactly like main at first, but any changes you make will only be reflected in your branch.

Make Commits
As you make changes to the files within the project, commit them to your feature branch.

Open a Pull Request and Collaborate
Open a pull request to start discussing your changes. A pull request is meant to be a starting point for further code refinement—no need for it to be a perfect work of art.


Смотрите видео Work with the GitHub Workflow | Git and GitHub Basics онлайн без регистрации, длительностью 01 минут 18 секунд в хорошем hd качестве. Это видео добавил пользователь Saurabh Infotech Solutions 28 Ноябрь 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 5 тысяч раз и оно понравилось 7 людям.