297 karma · joined Jan 31, 2019 (7y ago) · 71 submissions
comment 5mo ago · link · parent
comment 7mo ago · link · parent
For the Claude question, the CLI ships a skill, set it up with `but skill install`.
I hope this helps
comment 1y ago · link · parent
NB - the CLI version of GitButler is not yet at feature parity with the graphical version of the app yet
comment 1y ago · link · parent
Is it the case that you wish to have multiple agents working on the same task and then picking the best implementation? Or do you have a reason to prefer multiple tasks to be implemented in complete isolation from one another?
comment 1y ago · link · parent
The work is not complete but we have stability and correctness as a primary goal, and something that is a requirement for us to declare a v1.0.
comment 1y ago · link · parent
We chose not to use separate git worktrees under the hood for this functionality. Let me try to break down why, maybe there's an opportunity for me to learn more here.
In my head I separate between use cases of 1) "different tasks" and 2) "best of n, same task".
The app that we built already had the ability to separate changes into branches while in the worktree (on disk) it renders the integration of the branches. Our canonical use case back in the days was "A developer works on a feature branch and wishes to commit & publish a bugfix from separate branch". When we learned that people were using this for running multiple parallel agents we added some additional tooling for it.
So in practice what happens when you have multiple agents coding in parallel with GitButler is that the system captures information after an agent completes an edit (via the agent hooks) and uses that to 1) stage the particular edit to a branch dedicated to the agent and 2) perform a commit into that branch (GB can have multiple staging areas, one per applied branch).
The system will not allow multiple agents to edit the same file at the same time (via a locking mechanism in the pre-edit hook), but agents do see each others changes.
In the context of the "different tasks for different agents" use case, we have found that them seeing edits by others to have a positive effect on the outcomes. The first one that comes to mind is - no merge conflicts. But beyond merge conflicts, we have found that there is a lower likelihood of reaching a state where code diverges semantically.
In my own usage, I have found it helpful when I am hands on programming on something and wish to have an agent do some auxiliary task, for us to share a workspace (so that I can nudge it one way or another).
Is there something I am missing here? Of course for best-of-n of the same task this doesn't exactly make sense, but with regards to different tasks, what are some additional reasons to require full isolation? (as different worktrees would provide)
8.
20 Years of Git, 2 days at GitHub HQ: Git Merge 2025 highlights(github.blog ↗)
2 points · by videlov · 1y ago · discuss
9.
20 years of Git(blog.gitbutler.com ↗)
306 points · by videlov · 1y ago · 227 comments
comment 1y ago · link · parent
It has happened to me in the past to wonder why certain files/folders are ignored by git, only to realise that I had a global git ignore for the particular pattern.
Not sure l’d recommend this as a good default, but perhaps others have better memory than I do.
comment 1y ago · link · parent
12.
Gitoxide: What it is, and isn't – Sebastian Thiel – GitMerge 2024 [video](youtube.com ↗)
1 points · by videlov · 2y ago · discuss
comment 2y ago · link · parent
14.
Libgit2: Past, present, and future – Edward Thomson – GitMerge 2024(youtube.com ↗)
9 points · by videlov · 2y ago · discuss
15.
Scaling Git – Taylor Blau (multi-pack reuse, incremental MIDX bitmaps)(youtube.com ↗)
2 points · by videlov · 2y ago · discuss
comment 2y ago · link · parent
We are a small team of 9 people who love Git, building new functionality on top of the Git format (branching, code review & more). Our own @schacon has published the Pro Git book as well as co-founded GitHub.
Repository: https://github.com/gitbutlerapp/gitbutler Tech stack: Rust, TypeScript / Svelte in the Client, Ruby / Rails on the backend.
Currently looking for Senior Software Engineers with Rust, TypeScript (frontend) or Ruby skills to join us onsite in Berlin. Job ads: https://gitbutler.homerun.co
comment 2y ago · link · parent
When we were deciding whether we want to build our business[1] around Tauri, the final argument that helped me decide was the video manifesto[2] on their site as I felt that we were aligned on values. Having interacted with the community over this one year I have had a very positive experience, therefore Tauri definitely gets my recommendation.
[0] https://tauri.app/v1/references/architecture/inter-process-c... [1] https://github.com/gitbutlerapp/gitbutler [2] https://tauri.app/about/intro
comment 2y ago · link · parent
For my own sake, allow me to articulate the core value proposition once more. GitButler's virtual branches permit two novel use cases:
- A developer can lazily assign diffs/changes to belong to separate logical branches while maintaining their content within the same working dir. Those logical branches can be converted to plain git trees at any time. The canonical use case here is doing a bugfix while working on an unrelated feature - with the proposed workflow one can separate those contributions into discrete PRs while still having the content of both within the working dir.
- A developer can apply and unapply the content of remote branches to their working directory for the purpose of testing & review. This is distinct from rebasing and merging because it does not introduce merging or rebasing into the branch that the developer was originally working on.
In any case, we will work on communicating and documenting the tool better.
comment 2y ago · link · parent
With that said, the tool is very cautious not to mess with any existing branches. This is the very reason it operates on a separate integration branch. Switching between the "special/integration" branch and any other branch is also not an issue.
comment 2y ago · link · parent
22.
Provide examples of where FSL should and should not be considered(github.com ↗)
1 points · by videlov · 2y ago · discuss
comment 2y ago · link · parent
The "what is a branch" question has been very interesting for me for a while. One alternative way of looking at it is as just semantic groupings as opposed to separate universes. For almost a year I have been working on an idea[0] of having multiple branches applied in the working directory at the same time. Why? To make it easier for me to organise my changes in small PRs (eg. bugfix, featureX, unrelated refactors etc). If anyone reading this is also into the 'what is a branch' question, I would actually like to get some critique / feedback & opinions
comment 3y ago · link · parent
About GitButler: We are building a git-compatible next-gen version control. Currently a team of 5, including one of GitHub cofounders (https://twitter.com/chacon).
Product Docs: https://docs.gitbutler.com/features/virtual-branches
Role (Berlin, Onsite): You will be working with us developing a desktop app using Rust & the Git internals (libgit2). We are looking for an experienced and practical Rust developer to join our tight-knit local team in our cool office space.
Job ad: https://gitbutler.homerun.co/senior-rust-developer/en
29.
The difference between Git checkout, switch, reset and restore(twitter.com ↗)
2 points · by videlov · 3y ago · discuss
comment 3y ago · link · parent
About GitButler: We are building a git-compatible next-gen version control. Currently a team of 5, including one of GitHub cofounders.
Product Docs: https://docs.gitbutler.com/features/virtual-branches
Role (Berlin, Onsite): You will be working with us developing a desktop app using Rust & the Git internals (libgit2). We are looking for an experienced and practical Rust developer to join our tight-knit local team in our cool office space.
Job ad: https://gitbutler.homerun.co/senior-rust-developer/en