• Martin Thoma
  • Home
  • Categories
  • Tags
  • Archives
  • Support me

Git Bundle

Contents

  • Docs

Sometimes you need to share code via E-Mail / stick. If the code you need to share is a git repository, creating a bundle is a pretty good way to do it.

You can create a bundle with

$ git bundle create repository-name.bundle --all

Then you can restore the repository by cloning:

$ git clone repository-name.bundle

You can also use a bundle as a remote. Hence

$ git fetch origin
$ git pull

Docs

  • git-scm.com/docs/git-bundle
  • How to use git-bundle for keeping development in sync?

Published

Apr 2, 2017
by Martin Thoma

Category

Code

Tags

  • git 8

Contact

  • Martin Thoma - A blog about Code, the Web and Cyberculture
  • E-mail subscription
  • RSS-Feed
  • Privacy/Datenschutzerklärung
  • Impressum
  • Powered by Pelican. Theme: Elegant by Talha Mansoor