Skip to content

CodeCoreYVR/git_workflow_demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

To clone this repo all the branches at once, run the following commands:

Clone it.

git clone git@github.com:CodeCoreYVR/git_workflow_demo.git
cd git_workflow_demo

Run some 🔮 script to create local copies of all branches. Credit due

git branch -a | grep -v HEAD | perl -ne 'chomp($_); s|^\*?\s*||; if (m|(.+)/(.+)| && not $d{$2}) {print qq(git branch --track $2 $1/$2\n)} else {$d{$_}=1}' | bash -xfs

Delete the .git directory.

rm -rf .git

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published