Output all versions of a local git repo, which could be used as test data for your research program.
This program is under development. If you want to switch back to your current version, you need to do that manually.
- Build
gitwalker
.
cd your/gitwalker/directory
go install
- Add
$GOPATH/bin
to your terminal'sPATH
if you have not. cd
to the git repo that you want to process.- Run
gitwalker
there.
gitwalker walk
# You can also try walkByTag to only export versions that are tagged.
gitwalker walkByTag
# Or use bare option to remove version name from exported folder names.
gitwalker walk --bare
gitwalker walkByTag --bare
- Output folders are under the directory
$HOME/.gitwalker/