## ๆฆ‚่ฆ [[GitButler]]ใŒๆฐ—ใซใชใฃใŸใฎใง่ฉฆใ—ใฆใฟใŸใ€‚appใงใฏใชใ[[CLI]]ใฎใปใ†ใ€‚ ## ใ‚คใƒณใ‚นใƒˆใƒผใƒซ ```console curl -fsSL https://gitbutler.com/install.sh | sh ``` ## ใ‚ปใƒƒใƒˆใ‚ขใƒƒใƒ— ```console $ but The current project is not configured to be managed by GitButler. No GitButler project found at . In order to manage projects with GitButler, we need to do some changes: - Switch you to a special `gitbutler/workspace` branch to enable parallel branches - Install Git hooks to help manage the tooling You can go back to normal git workflows at any time by either: - Running `but teardown` - Manually checking out a normal branch with `git checkout <branch>` Would you like to run setup now? [Y/n]: ``` `Y` ใ‚’ๅ…ฅๅŠ›ใ€‚ ```console Setting up GitButler project... โ†’ Adding repository to GitButler project registry โœ“ Repository added to project registry โ†’ Configuring default target branch No push remote found, creating gb-local remote... โœ“ Created gb-local remote tracking main โœ“ Set default target to: gb-local/main GitButler project setup complete! Target branch: gb-local/main Remote: gb-local Setting up your project for GitButler tooling. Some things to note: - Switching you to a special `gitbutler/workspace` branch to enable parallel branches - Installing Git hooks to help manage commits on the workspace branch To undo these changes and return to normal Git mode, either: - Directly checkout a branch (`git checkout main`) - Run `but teardown` More info: https://docs.gitbutler.com/workspace-branch โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–„ โ–„โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–€โ–€โ–€โ–€โ–ˆโ–ˆโ–„ โ–„โ–ˆโ–ˆโ–€โ–€โ–€โ–€โ–ˆโ–ˆ โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘โ•šโ•โ•โ–ˆโ–ˆโ•”โ•โ•โ• โ–ˆโ–ˆ โ–€โ–ˆโ–ˆโ–ˆโ–ˆโ–€ โ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ–„โ–„โ–„โ–„โ–ˆโ–ˆโ–€ โ–€โ–ˆโ–ˆโ–„โ–„โ–„โ–„โ–ˆโ–ˆ โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–€ โ–€โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ• โ–ˆโ–ˆโ•‘ The command-line interface for GitButler $ but branch new <name> Create a new branch $ but status View workspace status $ but commit -m <message> Commit changes to current branch $ but push Push all branches $ but teardown Return to normal Git mode Learn more at https://docs.gitbutler.com/cli-overview Initiated a background sync... โ•ญโ”„zz [unstaged changes] โ”Š pu A .gitignore โ”Š rl A README.md โ”Š to A biome.json โ”Š vz A biome.json.tmp โ”Š uz A bun.lock โ”Š xt A bunfig.toml โ”Š py A index.ts โ”Š sz A package.json โ”Š ty A tsconfig.json โ”Š โ”Šโ•ญโ”„br [t-branch-1] (no commits) โ”œโ•ฏ โ”Š โ”ด 03aaa98 [gb-local/main] 2026-04-10 Initial empty commit Hint: run `but diff` to see uncommitted changes and `but stage <file>` to stage them to a branch ``` ## ใƒ–ใƒฉใƒณใƒใ‚’ไฝœๆˆใ—ใฆใ‚ณใƒŸใƒƒใƒˆใ™ใ‚‹ ```console ๏Œ‚ ๎Š v1.3.11 ~/tmp/dayjs-sandbox ๓ฐŠข ๏˜ gitbutler/workspace ๏  9 โฏโฏโฏ but branch new branch-1 Initiated a background sync... โœ“ Created branch branch-1 ๏Œ‚ ๎Š v1.3.11 ~/tmp/dayjs-sandbox ๓ฐŠข ๏˜ gitbutler/workspace ๏  9 โฏ but status Initiated a background sync... โ•ญโ”„zz [unstaged changes] โ”Š pu A .gitignore โ”Š rl A README.md โ”Š to A biome.json โ”Š vz A biome.json.tmp โ”Š uz A bun.lock โ”Š xt A bunfig.toml โ”Š py A index.ts โ”Š sz A package.json โ”Š ty A tsconfig.json โ”Š โ”Šโ•ญโ”„g0 [t-branch-1] (no commits) โ”œโ•ฏ โ”Š โ”Šโ•ญโ”„h0 [branch-1] (no commits) โ”œโ•ฏ โ”Š โ”ด 03aaa98 [gb-local/main] 2026-04-10 Initial empty commit Hint: run `but diff` to see uncommitted changes and `but stage <file>` to stage them to a branch ๏Œ‚ ๎Š v1.3.11 ~/tmp/dayjs-sandbox ๓ฐŠข ๏˜ gitbutler/workspace ๏  9 โฏ but commit -m "test" Initiated a background sync... Multiple stacks found. Choose one to commit to: 1. t-branch-1 2. branch-1 Enter selection (1-2): > 1 โœ“ Created commit 8b6e8bb on branch t-branch-1 ``` ใใฎใ‚ใจ่‰ฒใ€…ๆ“ไฝœใ—ใฆ... ```console ๓ฐŠข ๏˜ gitbutler/workspace ๓ฐ†ผ 4 โฏ but Last fetch was 16m ago. Initiated a background sync... โ•ญโ”„zz [unstaged changes] โ”Š pu A .gitignore โ”Š to A biome.json โ”Š vz A biome.json.tmp โ”Š ty A tsconfig.json โ”Š โ”Šโ•ญโ”„g0 [branch-1] โ”Šโ— 2435c79 hoge โ”Šโ”‚ โ”Šโ”œโ”„h0 [t-branch-1] โ”Šโ— 0d9d4b5 add2 โ”Šโ— 7488e15 Add README โ”œโ•ฏ โ”Š โ”ด 03aaa98 [gb-local/main] 2026-04-10 Initial empty commit Hint: run `but diff` to see uncommitted changes and `but stage <file>` to stage them to a branch ``` ## Gitใซๆˆปใ™