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
• 19,570 points

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
• 58,210 points

Related Questions In Git & GitHub

0 votes
3 answers

Can anyone explain the git workflow?

HI. The following will help you -Git Workflow Step ...READ MORE

answered Sep 22 in Git & GitHub by SRI
0 votes
1 answer

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

Hi@akhtar, You can use reset command to do ...READ MORE

answered Jul 18 in Git & GitHub by MD
• 78,020 points
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,870 points
–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
+15 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,450 points
+2 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
• 58,210 points
0 votes
3 answers

What is git rebasing?

HI. Rebase is nothing but a Git utility ...READ MORE

answered Sep 3 in Git & GitHub by SRI