Git serve: I would like it that simple

前端 未结 8 519
南方客
南方客 2020-12-02 03:52

I want to know how to simply publish over http = much like Mercurial\'s hg serve! On the Windows/work box do this:

git serve 

and then on t

相关标签:
8条回答
  • 2020-12-02 04:25

    If you just want to expose the repository with a web browser

    git-instaweb

    $ git instaweb -d apache2 --start
    $ lynx localhost:1234
    
    0 讨论(0)
  • 2020-12-02 04:26

    git-webui is a git extension which provides a web based user interface and the ability to clone/pull from other computers

    https://github.com/alberthier/git-webui

    $ cd my_git_repo
    $ git webui
    

    Other people can

    $ git clone http://<ip-of-your-computer>:8000/ repoclone
    

    or

    $ git pull http://<ip-of-your-computer>:8000/
    
    0 讨论(0)
提交回复
热议问题