website-toots/108236350943922525.md

7 lines
2.4 KiB
Markdown
Raw Normal View History

2022-09-28 15:48:56 -04:00
---
2022-11-30 21:22:31 -05:00
{"id": "108236350943922525", "in_reply_to_id": null, "in_reply_to_account_id": null, "sensitive": false, "spoiler_text": "", "visibility": "public", "language": "en", "replies_count": 1, "reblogs_count": 3, "favourites_count": 4, "edited_at": null, "reblog": null, "application": null, "account": {"id": "108219415927856966", "username": "brozek", "acct": "brozek", "display_name": "Brandon Rozek", "url": "https://fosstodon.org/@brozek", "avatar": "https://cdn.fosstodon.org/accounts/avatars/108/219/415/927/856/966/original/bae9f46f23936e79.jpg", "avatar_static": "https://cdn.fosstodon.org/accounts/avatars/108/219/415/927/856/966/original/bae9f46f23936e79.jpg", "header": "https://fosstodon.org/headers/original/missing.png", "header_static": "https://fosstodon.org/headers/original/missing.png", "noindex": true}, "media_attachments": [], "mentions": [], "tags": [{"name": "git", "url": "https://fosstodon.org/tags/git"}], "emojis": [], "card": {"url": "https://brandonrozek.com/blog/git-bisect-broken-builds/", "title": "Which commit broke the build? Using Git Bisect", "description": "Lets imagine a scenario where in the latest merge a test starts failing. Lets say these tests are saved in test.sh. Instead of having to test each individual commit in the merge, to see where the test fails, luckily git bisect narrows it down in a more efficient way!\nTo use:\ngit bisect start [good] [bad] git bisect run test.sh Where [good] and [bad] are replaced with their respective commit hashes.", "type": "link", "author_name": "Brandon Rozek", "author_url": "https://brandonrozek.com/", "provider_name": "", "provider_url": "", "html": "", "width": 0, "height": 0, "image": null, "embed_url": "", "blurhash": null}, "poll": null, "syndication": "https://fosstodon.org/@brozek/108236350943922525", "date": "2022-05-03T05:27:27.957Z"}
2022-09-28 15:48:56 -04:00
---
{{< unsafe >}}
<p>Wrote a blog post on using `git bisect` to efficiently find where a test script fails.</p><p><a href="https://brandonrozek.com/blog/git-bisect-broken-builds/" target="_blank" rel="nofollow noopener noreferrer"><span class="invisible">https://</span><span class="ellipsis">brandonrozek.com/blog/git-bise</span><span class="invisible">ct-broken-builds/</span></a></p><p>I don&#39;t know how I used <a href="https://fosstodon.org/tags/git" class="mention hashtag" rel="tag">#<span>git</span></a> for so long before learning about this 😲</p>
{{< /unsafe >}}