C:\>fossil user new Joe
C:\>fossil user default Joe
设置账户

fossil setting proxy http://-:-
fossil update
pause

-\iproject\fossil>fossil setting proxy http://-:-

-\iproject\fossil>fossil update
Autosync:  https://synopse.info/fossil
via proxy: http://-:-
Round-trips: 1   Artifacts sent: 0  received: 12
Pull done, sent: 605  received: 3977  ip: -

上面的用法 生效了。

https://www.fossil-scm.org/home/doc/trunk/www/quickstart.wiki#proxy

HTTP Proxies

If you are behind a restrictive firewall that requires you to use an HTTP proxy to reach the internet, then you can configure the proxy in three different ways. You can tell fossil about your proxy using a command-line option on commands that use the network, sync, clone, push, and pull.

fossil clone URL --proxy Proxy-URL

It is annoying to have to type in the proxy URL every time you sync your project, though, so you can make the proxy configuration persistent using the setting command:

fossil setting proxy Proxy-URL

Or, you can set the "http_proxy" environment variable:

export http_proxy=Proxy-URL

To stop using the proxy, do:

fossil setting proxy off

Or unset the environment variable. The fossil setting for the HTTP proxy takes precedence over the environment variable and the command-line option overrides both. If you have an persistent proxy setting that you want to override for a one-time sync, that is easily done on the command-line. For example, to sync with a co-workers repository on your LAN, you might type:

fossil sync http://192.168.1.36:8080/ --proxy off

最新文章

  1. IE8的parseInt
  2. VIM键盘映射 (Map)~转载
  3. linux-----------linux查看并发数
  4. Xamarin.Forms.Platform.Perspex, Xamarin Forms 的 Perspex(号称下一代WPF) 实现
  5. leetcode single number系列
  6. 使用Spring时遇到的bug及解决
  7. 修改原代码定制bootstrap
  8. Dynamics CRM2013 missing prvReadComplexControl privilege
  9. nginx与ios实现https双向认证
  10. 本篇内容简要介绍BASE64、MD5、SHA、HMAC几种加密算法。
  11. Linux命令-基本操作和软件安装
  12. EOS智能合约开发(一):EOS环境搭建和启动节点
  13. windows server 2008性能测试出现大量time_wait
  14. C#中get和set
  15. Linux中利用extundelete恢复误删除的数据
  16. 【Java并发.1】简介
  17. Android log 方法
  18. akka actors默认邮箱介绍
  19. 内联元素的padding和margin
  20. sqoop的安装与配置

热门文章

  1. API网络接口
  2. 类的property特性
  3. Elasticsearch and MongoDb
  4. VUE循环菜单
  5. UVA-11584:Partitioning by Palindromes(基础DP)
  6. 使用 MiniProfiler 来分析 ASP.NET Core 应用
  7. C. Functions again DP + 分类讨论
  8. mint-ui pull down不起作用及解决方案
  9. DockerSwarm 集群环境搭建
  10. Apache is running a threaded MPM, but your PHP module is not compiled to be threadsafe. you need to recompile php. pre-configuration failed