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
• 9,300 points
26 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
• 48,530 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
• 2,750 points
29 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
• 1,440 points
22 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
90 views
0 votes
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
108 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
352 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
• 48,530 points
123 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
• 48,530 points
210 views