Home > Enterprise >  how to diagnose a problem in git commit history
how to diagnose a problem in git commit history

Time:10-14

I have a project in swift and I use git flow. I found a bug in my project, but I don't know when and where it was introduced in my commit history. how can I find the bug in my commit history? Is there any tools to search in commits?

CodePudding user response:

you can use this code on your terminal:

git bisect start

this will show you the broken version branch and info for debugging there is a good doc for this job https://git-scm.com/docs/git-bisect

  •  Tags:  
  • git
  • Related