- Developer: Trần Nguyên Hiền And Trí Hoàng
- Email MrHien: [email protected]
- Email MrHoang: [email protected]
-------------------------------------------------- Installation instructions ----------------------------------------------------
git clone https://github.com/NguyenHien-8/Developer_AI.git
The command automatically creates directories for all branches
- On PowerShell
git branch -r | % { $n = $_.Trim() -replace 'origin/'; if($n -notmatch 'HEAD'){ git worktree add $n $n } }
- On CMD
for /f "tokens=1,* delims=/" %a in ('git branch -r ^| findstr /v "HEAD"') do git worktree add "%b" "origin/%b"
The command automatically creates directories for all branches.
- On Bash
git branch -r | grep -v 'HEAD' | cut -d/ -f2- | xargs -I{} git worktree add {} origin/{}
The command automatically creates directories for all branches.
- On Zsh/Bash
git branch -r | grep -v 'HEAD' | cut -d/ -f2- | xargs -I{} git worktree add {} origin/{}