Loading...
Loading...
Compare original and translation side by side
parent/
project/ # main repo
project-worktrees/ # worktree container
25-01-22-feature/ # individual worktree../<project-name>-worktrees/parent/
project/ # 主仓库
project-worktrees/ # 工作树容器
25-01-22-feature/ # 单个工作树../<project-name>-worktrees/YY-MM-DD-feature-description25-01-22-add-password-reset25-01-22-fix-api-timeout25-01-22-refactor-auth-moduleYY-MM-DD-feature-description25-01-22-add-password-reset25-01-22-fix-api-timeout25-01-22-refactor-auth-moduleWhat feature are you working on? (e.g., "add password reset", "fix checkout bug")你正在开发什么功能?(例如:“添加密码重置功能”、“修复结账bug”)undefinedundefinedundefinedundefinedWORKTREE_PATH="$WORKTREES_DIR/$BRANCH_NAME"WORKTREE_PATH="$WORKTREES_DIR/$BRANCH_NAME"
Use full absolute paths for symlinks.
符号链接请使用完整的绝对路径。Worktree created:
Branch: 25-01-22-add-password-reset
Location: ../project-worktrees/25-01-22-add-password-reset
Rails credentials symlinked:
- config/master.key
- config/credentials/development.key
- config/credentials/test.key
To start working:
cd ../project-worktrees/25-01-22-add-password-reset工作树已创建:
分支:25-01-22-add-password-reset
位置:../project-worktrees/25-01-22-add-password-reset
Rails凭证已创建符号链接:
- config/master.key
- config/credentials/development.key
- config/credentials/test.key
开始工作请执行:
cd ../project-worktrees/25-01-22-add-password-resetgit worktree listgit worktree remove ../project-worktrees/25-01-22-feature-namegit worktree prunegit worktree listgit worktree remove ../project-worktrees/25-01-22-feature-namegit worktree pruneUser: create a worktree for adding stripe webhooks
Creating worktree...
Project: vc-matcher-app
Feature: adding stripe webhooks
Branch: 25-01-22-add-stripe-webhooks
$ mkdir -p ../vc-matcher-app-worktrees
$ git worktree add ../vc-matcher-app-worktrees/25-01-22-add-stripe-webhooks -b 25-01-22-add-stripe-webhooks
Symlinking Rails credentials...
$ ln -sf /Users/avi/Development/code/project/config/master.key ../vc-matcher-app-worktrees/25-01-22-add-stripe-webhooks/config/master.key
[additional symlinks...]
Done! Worktree ready at:
../vc-matcher-app-worktrees/25-01-22-add-stripe-webhooks用户:创建一个用于添加Stripe Webhooks的工作树
正在创建工作树...
项目:vc-matcher-app
功能:添加Stripe Webhooks
分支:25-01-22-add-stripe-webhooks
$ mkdir -p ../vc-matcher-app-worktrees
$ git worktree add ../vc-matcher-app-worktrees/25-01-22-add-stripe-webhooks -b 25-01-22-add-stripe-webhooks
正在创建Rails凭证的符号链接...
$ ln -sf /Users/avi/Development/code/project/config/master.key ../vc-matcher-app-worktrees/25-01-22-add-stripe-webhooks/config/master.key
[其他符号链接...]
完成!工作树已准备就绪,路径:
../vc-matcher-app-worktrees/25-01-22-add-stripe-webhooksbundle installbundle install