How can I export Git change sets from one repository to another via sneaker net (external files)?

前端 未结 1 424
慢半拍i
慢半拍i 2020-11-27 23:39

I have a system that is installed in an area that does not have external network access and I can\'t bring in my computer. The system was developed with all source in a GIT

相关标签:
1条回答
  • 2020-11-28 00:10

    Use git bundle. Create a bundle:

    git bundle create update.bundle HEAD~5..HEAD
    

    On the receiving side use git fetch or git pull:

    git pull update.bundle master
    
    0 讨论(0)
提交回复
热议问题