This module will show you how
- Fork repository and open a Pull Request (PR)
- Create new branches using
git
and push the changes by commits - Work with Contiguous Integration (CI) system Travis CI
-
Create a GitHub account
-
Click fork button to create a copy of origin repository
-
Clone forked repository (
USERNAME
is your account name) and navigate to new folder.git clone https://github.com/USERNAME/openvino_practice cd openvino_practice
-
Create a new branch with name
practice_git
or differentgit checkout -b practice_git
-
Make some changes
--- a/modules/0_git/test/main.cpp +++ b/modules/0_git/test/main.cpp @@ -7,7 +7,7 @@ TEST(git, say_hello) { myspace::A a; EXPECT_EQ(myspace::func(a), "Hello, Nizhny!"); - EXPECT_EQ(func(a), "Hello, World!"); + EXPECT_EQ(func(a), "Hello, Nizhny!"); }
-
Create a commit
git add modules/0_git/test/main.cpp git commit -m "initial commit"
-
Push local branch to remote repository
git push origin practice_git
-
Open a pull request:
Pull requests -> New pull request
-
Wait for validation results: