HackerTrans
TopNewTrendsCommentsPastAskShowJobs

hammadfauz

no profile record

Submissions

Show HN: Git-chain – Simplify branch dependency management in Git

github.com
1 points·by hammadfauz·last year·1 comments

Show HN: Git-chain: A way to manage branch dependencies in Git

github.com
4 points·by hammadfauz·last year·0 comments

Show HN: Extension to transform GitHub timestamps > duration b/w timeline events

addons.mozilla.org
1 points·by hammadfauz·2 years ago·0 comments

comments

hammadfauz
·4 months ago·discuss
If the pattern is consistent, it gets easier to ignore the noise when you don't need it. Like, a three/four digit number or a 3 letters and 3 numbers separated by a hyphen.

Sometimes, an issue might depend on another issue and contain commits from the other branch. Tagging each commit makes it easier to pinpoint the exact reason for that change.
hammadfauz
·4 months ago·discuss
If you do these things:

* File issues in a project tracker (Github, jira, asana, etc)

* Use the issue id at the start of every commit message for that issue

* Use a single branch per issue, whose name also starts with the issue id

* Use a single PR to merge that branch and close the issue

* Don't squash merge PRs

You can use `git blame` to get the why.

git blame, gives you the change set and the commit message. Use the issue id in commit message to get to the issue. Issue description and comments provide a part of the story.

Use the issue id, to track the branch and PR. The PR comments give you the rest of the story.
hammadfauz
·last year·discuss
Hi HN,

I built Git-chain to help with branch management in trunk-based development workflows.

When you want to keep changesets small and reviewable, but still build new work on top of unmerged changes, Git can get messy fast. Git-chain makes it easier to track and manage these dependent branches cleanly.

Would love feedback — especially from teams doing trunk-based development!
hammadfauz
·3 years ago·discuss
https://github.com/hammadfauz/syncPlay

Whipped up a quick way to play videos in sync across different computers so people can watch movies together, remotely.