【问题标题】:Automation commits from Google code to Github从 Google 代码到 Github 的自动化提交
【发布时间】:2015-04-02 02:45:56
【问题描述】:

我有一个关于 Google 代码的项目:Project on Google code。愤愤不平,我把它导出到 GitHubProject on GitHub.

如何自动将提交从 Google 代码 发送到 GitHub? IE。我想继续使用 Google 代码,但所有新提交都应该自动发送到 GitHub 存储库?我该怎么做?

【问题讨论】:

    标签: git github synchronization google-code


    【解决方案1】:
    google code doesnt belong to you, what you have access to is your github repo. so clone the repo on your computer.
    
        1.git clone https://github.com/VeLKerr/code--review.git
    
        2.try add a new file say test.foo in that same directory on your computer
    
        3. git add --all
    
        4.git commit -am "Testing Foo"
    
        5. git push origin master
    
    That should solve it.
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2020-10-12
      • 2018-08-11
      • 2016-03-19
      • 2016-01-10
      • 2022-07-30
      • 1970-01-01
      • 2012-07-24
      相关资源
      最近更新 更多