Git serve: I would like it that simple

前端 未结 8 577
南方客
南方客 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: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://:8000/ repoclone
    

    or

    $ git pull http://:8000/
    

提交回复
热议问题