⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 posttoyourowngittree

📁 ipsec vpn
💻
字号:
-*- emacs-wiki -*-You need a machine on a public IP that can run either anonymous rsync (somewhatdeprecated) or http. It's better if you have a machine on which you can ssh into and on which youcan install git, or at least git-init and git-unpack-objects. If you don't have that, but can FTP mirror to it, or rsync to it (perhapsover SSH), then you can make it work. Just pretend your local machine is theremote machine, make a new directory, and arrange to push that directory toyour web server.So, you start by doing this on your laptop/desktop:     cd /someplace     cg-clone http://git.openswan.org/public/scm/openswan.git/This creates a directory openswan.git, and sets up the "origin" branch topoint to the above url. To do the equivalent of "cvs update", you run"git pull" (or cg-fetch).Next, you login to your web server, and do:     ssh mywebserver     cd /var/www     mkdir -p scm/openswan.git     cd scm/openswan.git     git initOn your laptop you can now do:     cd /someplace/openswan.git     cg-branch-add public git+ssh://mywebserver/var/www/scm/openswan.git     cg-push public     (it should copy everything to your web server)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -