Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 561 Bytes

README.md

File metadata and controls

26 lines (22 loc) · 561 Bytes

Create bundle

git bundle create $BundleName $tagName $branchName

use HEAD tag

  git bundle create repo.bundle HEAD master
  

create new tag

  git tag -a v1.0 -m 'my version 1.0'
  git bundle create v1.0.bundle v1.0 master
  

create new branch with HEAD tag

  git branch bundleTest
  git checkout bundleTest
  git bundle create branchHEAD.bundle HEAD bundleTest
  

create new branch with new tag

  git tag -a v2.0 -m 'my version 2.0'
  git bundle create branchTag.bundle v2.0 bundleTest