代理设置 全局代理设置git config --global http.https://github.com.proxy https://127.0.0.1:1080git config --global https.https://github.com.proxy https://127.0.0.1:1080取消代理设置git config --global --unset http.proxy
原创 2022-03-23 14:45:34
1685阅读
git给当前项目设置http和https代理 git config http.proxy http://127.0.0.1:1080 git config https.proxy https://127.0.0.1:1080 //被改动的对应文件:当前git项目目录下的.git\config文件 g
原创 3月前
43阅读
Linux是一种流行的操作系统,而Git是一个版本控制系统,HTTP代理则是一种网络协议。这三个关键词集成在一起,可以对开发者的工作效率和安全性产生积极影响。 在Linux系统中,开发者通常会使用Git对项目进行版本控制。Git可以帮助开发者跟踪代码的历史变更,协作开发者之间的工作,以及恢复可能出现的错误。然而,在使用Git时,有时会遇到无法连接到远程仓库的情况。这时,就可能需要通过HTTP代理
原创 2024-04-07 09:52:39
106阅读
快速入门git init# new-remote是为远端仓库取个名 # <remote-url>是远端仓库地址 一般为git@github.com:xxx git remote add new-remote <remote-url># 将远端的master分支强行合并到本地分支 git pull --allow-unrelated-histories new-remote
转载 2024-04-02 10:16:45
154阅读
第一次安装配置 git用户信息第一个要配置的是你个人的用户名称和电子邮件地址。这两条配置很重要,每次 Git 提交时都会引用这两条信息,说明是谁提交了更新,所以会随更新内容一起被永久纳入历史记录:$ git config --global user.name "John Doe" $ git config --global user.email johndoe@example.com如果用了 –g
转载 2024-04-22 22:35:42
80阅读
git的鉴权方式分为 ssh 和 https,ssh 需要使用 ssh 秘钥,这样就可以在不输入用户名和密码的情况下安全地传输数据;而http协议来说是不可能的
原创 2022-06-16 21:05:44
1200阅读
Git配置https://github.com/seeways/GitLearn$ git config --global user.name “Your Name”$ git config --global user.email "email@example.com"git config命令的–global参数,表明这台机器上的所有Git仓库都会使用这个配置,也可以对某个仓库指定不同的用...
原创 2021-05-01 19:27:00
593阅读
实验一:       基本HTTP服务器配置       主机名设为:www.tarena.com  192.168.10.10    默认首页包括:index.html、index.php    开启保持连接    确认默认httpd是否支持php1、 在客户机上配置
原创 2014-04-20 15:59:27
373阅读
1 启动httpd服务# service httpd  restart 2 用另外一台机器测试网页http://172.16.40.180  3 apache配置文件, 服务器监听端口80, 文档根目录:/var/www/html  /etc/httpd/conf/httpd.conf 关键参数:DocumentRoot&nbs
原创 2017-05-23 09:40:35
499阅读
实验一:查看默认HTTP配置找到默认红帽欢迎页面(/etc/httpd/conf/httpd.conf ---->Include ---->/etc/httpd/conf.d  ---->welcome.conf  ---->/var/www/error/noindex.html)[root@wolaile sbin]# rpm -q httpd[roo
原创 2014-06-22 21:47:45
457阅读
 // 查看配置​​git config -l​​// 生成公钥​​ssh-keygen -t rsa -C “您的邮箱地址”​​  // 配置用户名和邮箱​​git config --global user.name "pengdonglin"​​​​git config --global user.email "pengdonglin137@163.com"​​ // 别名​​git
转载 2015-07-11 16:09:00
180阅读
有的时候太久不配置 git 就又忘干净了,还是记一下把。 本地设置信息: git config --global user.name "coldchair" git config --global user.email "2317757009@qq.com" 这个最好与 github 上面的信息一致
原创 2024-04-15 12:05:40
17阅读
git config core.fileMode false  # 忽略file mode变动
原创 2014-02-27 18:52:13
452阅读
查看不同级别的配置文件# 查看配置 git config -l # 查看系统配置 git config --system -- list # 查看用户(global)配置 git config --global --list # 必须要配置 git config --global user.name "your name" # 配置用户名 git config --global user.e
git
转载 2021-05-04 23:36:33
207阅读
2评论
概念一般在新的系统上,我们都需要先配置下自己的Git 工作环境。配置工作只需一次,以后升级时还会沿用现在的配置。当然,如果需要,你随时可以用相同的命令修改已有的配置Git 提供了一个叫做git config 的工具(译注:实际是git-config 命令,只不过可以通过git 加一个名字来呼叫此命令。)·
原创 2021-07-21 14:55:09
141阅读
1 配置文件 1.1 用户级别 ~/.gitconfig 1.2 仓库级别 .git/config 2 core.ignorecase 如果是true的话,会导致,在.gitignore文件中设置的是小写的“*.s”,但是大写的"*.S"也被忽略了。所以,记得设置成false,因为不区分大小写的文件
转载 2017-12-27 15:47:00
118阅读
2评论
基本配置第一步1. 打开Git Bash2. 设置用户信息git config --global user.name “itcast”git config --global user.email “hello@itcast.cn”查看配置信息git config --global user.namegit config --global user.email第二步配置SSH公钥·生成SSH公钥ssh-keygen -t rsa不断回车·如果公钥已经存在,...
原创 2021-12-08 15:47:13
93阅读
基本配置第一步1. 打开Git Bash2. 设置用户信息git config --global user.name “itcast”git config --global user.email “hello@itcast.cn”查看配置信息git config --global user.namegit config --global user.email第二步配置SSH公钥·生成SSH公钥ssh-keygen -t rsa不断回车·如果公钥已经存在,...
原创 2022-01-24 16:11:22
84阅读
一般在新的系统上,我们都需要先配置下自己的 Git 工作环境。配置工作只需一次,以后升级时还会沿用现在的配置。当然,如果需要,你随时可以用相同的命令修改已有的配置Git 提供了一个叫做 git config 的工具(译注:实际是 git-config 命令,只不过可以通过 git 加一个名字来呼
转载 2017-06-16 18:23:00
62阅读
2评论
拉取项目:必须现拥有git全局设置:              git config --global user.name "用户名"             git config --global user.email "邮件"    查
原创 2024-03-19 09:26:13
26阅读
  • 1
  • 2
  • 3
  • 4
  • 5