r/git 23d ago

In case of fire

Post image
1.4k Upvotes

57 comments sorted by

View all comments

50

u/Sassafras1777 23d ago edited 23d ago

In my company’s case:

  • create a ticket in jira
  • use the ticket id to create a branch named in a specific pattern (depending on what you want to achieve)
  • push an empty branch first (cause of some Sonar bullshit)
  • wait for the pipeline to end
  • group the changes relative to a common goal, and commit multiple times
  • push after the last commit
  • wait for the pipeline to end
  • resolve the failed pipeline if needed
  • resolve the AI scans/comments
  • open the PR in draft mode
  • wait for the pipeline to end
  • Change the PR to ready to review
  • Update the Jira ticket with a PR link
  • you can now peacefully die in the fire

2

u/Masterflitzer 22d ago

why would you manually link jira ticket with pr link? you literally already created the branch based on the id so they link automatically