Can anyone provide git realtime scenarios?

0 votes
Need some real time scenarios of git. Thanks in advance.
Feb 6 in Git & GitHub by anonymous
• 10,080 points
162 views

1 answer to this question.

0 votes
You work in a team. You are working on feature 1. I am working on defect 1 and 2. And our tech lead is working on an integration POC. It is possible there will be three branches - feature, defect and integration and of course the master.

We each checkout our code into our respective branches.
We build and test using Jenkins on our own branches. Now you complete your delivery, you will raise a PR to merge the code with the master. The reviewer reviews and confirms the PR.

Now imagine from feature branch you have 3 branches - 3 people working on a single feature. Or maybe from the feature branch - you have 3 sub-branches for each developer. Once you check-in you raise a PR to merge to feature branch. Build and testing done on the feature branch.

It really depends on how your org and team are managing the branching system.
answered Feb 6 by Sirajul
• 52,850 points

Related Questions In Git & GitHub

0 votes
2 answers

Can anyone explain the git workflow?

Hi, The workflow of Git is described below First you ...READ MORE

answered Feb 4 in Git & GitHub by MD
• 21,980 points
65 views
0 votes
0 answers

How can I retrieve previous version data in Git & GitHub!!?

Hi, I accidentally commit in a wrong version. ...READ MORE

Feb 3 in Git & GitHub by akhtar
• 10,150 points
151 views
0 votes
1 answer

Can I programmatically access gitlab secrets hash?

The newer versions of gitlab do support ...READ MORE

answered Mar 29, 2018 in Git & GitHub by DareDev
• 6,850 points
103 views
–1 vote
1 answer

Having problem in Github and remote Git repo with production and development code

I think you could start with this. The ...READ MORE

answered Apr 10, 2018 in Git & GitHub by shubham
• 6,910 points
149 views
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,400 points
488 views
0 votes
1 answer
0 votes
2 answers

How to view the nested workflow of a local git repository?

The closest way to view branches in ...READ MORE

answered Aug 2, 2019 in Git & GitHub by Sirajul
• 52,850 points
156 views
0 votes
2 answers

What is git rebasing?

In Git, there are two main ways ...READ MORE

answered Aug 2, 2019 in Git & GitHub by Sirajul
• 52,850 points
261 views