push - Is there an effective working method for having two git repositories separated by network file transfer, but not ssh/http? -


i have git repository a on machine a (which in turn clone of "central" repository hosted development team). various reasons, don't develop on machine a (poor development tools), instead i'd develop on machine b. 2 are/can connected transferring files across network (i.e. virtual sneakernet), various complicated firewall-related questions outside scope of question, cannot connect them directly using ssh, http, or suchlike. connecting removable drive/usb stick etc. machine a not possible either.

is there easy way me clone repository onto machine b, develop on local branch there several commits, , once i'm done, move/push changes branch onto corresponding branch on machine a transferring single file, rather connecting remote machine using git push/git pull etc.? in other words, can keep them in sync kind of delta file/package file/etc.?

i have thought of flattening changes on machine b, using git rebase -i, 1 change, passing on diff, i'd prefer preserve git history.

use git bundle.

some workflows require 1 or more branches of development on 1 machine replicated on machine, 2 machines cannot directly connected, , therefore interactive git protocols (git, ssh, rsync, http) cannot used. command provides support git fetch , git pull operate packaging objects , references in archive @ originating machine, importing repository using git fetch , git pull after moving archive means (e.g., by sneakernet). no direct connection between repositories exists, user must specify basis bundle held destination repository: bundle assumes objects in basis in destination repository.


Comments

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -