Git_Exam for Java ventures
-
Created a git Git_Exam repo
-
Cloned that on local
-
added a UI project to that
-
added a TestGit.html to it which has a hello world main function
-
Commit that with a comment
-
pushed that to origin/main repo
-
created a new branch called feature1
-
created one more branch called feature2
-
checkout feature1.
-
Modified the TestGit.html file change the message on same line to Hello feature 1
-
commit and push feature1.
-
raised a pull request to merge feature1 to main.
-
Completed the merge
-
Checkout feature2
-
Modified the TestGit.html file change the message on same line to Hello feature 2
-
commit but doesn't pushed
-
reversed merge main to feature2 (found conflict and put both changes)
-
commit and push
-
raised a pull request to merge feature2 to main.
-
Completed the merge
-
Deleted branch feature1 and feature2