Search code examples
gitversion-control

Update local repository without access to remote


I have two computers, one of them doesn’t have access to source repository. To keep it up to date I thought to create patch from new commits and apply it, but patches don’t keep track of commit history, only actual changes.

Is there a way to create some kind of snapshot of history so I could keep project up to date?


Solution

  • As pointed out in comment above ‘git bundle’ fits my use case quite nicely.