美文网首页
Git常用操作

Git常用操作

作者: Anne_胖达 | 来源:发表于2020-03-17 13:52 被阅读0次

设置代理

git config --global http.proxy 'proxy address' 
git config --global https.proxy 'proxy address'

比如git config --global https.proxy 'http://127.0.0.1:1081'

查看代理

git config --global --get http.proxy
git config --global --get https.proxy

取消代理

git config --global --unset http.proxy
git config --global --unset https.proxy

修改全局用户名与邮箱

git config --global user.name "username"
git config --global user.email email

查看全局用户名邮箱

git config --global --get user.name 
git config --global --get user.email 

修改当前工程用户名与邮箱

git config user.name "username"
git config user.email email

查看当前工程用户名邮箱

git config --get user.name 
git config --get user.email 

查看所有分支

git branch -a

相关文章

  • 组件化(第一篇)

    组件化 git 常用操作指令 cocoapods的基本使用 cocoapods本地私有库 一、git 常用操作指令...

  • git的常用操作

    git的常用操作

  • GIt 操作补充

    常用的git操作命令 常用的git操作命令已经能够满足日常的工作需求 现补充一些高级命令 git branch -...

  • git使用整理

    git使用常用操作-常用基本命令 克隆:git clone 【url】 查看修改状态: git status (g...

  • GIT 版本管理 常用命令

    Git 常用命令流程图 Git常用操作命令: 初始化创建:$ git init //检出仓库:$ git clon...

  • 🍏常用 git 操作指北

    ? 常用 git 操作指南 ? git图形界面操作软件 ? 开发流程 git clone 拉取项目代码,不必多说 ...

  • git常用操作 🎀

    git常用操作 ? 基本知识 查看git信息 修改git配置 提交类操作 分支类操作 创建分支 查看分支 修改分支...

  • git常用操作命令

    git常用操作命令 1 git工作原理图 2 git远程操作 2.1 git clone 远程操作的第一步,通常是...

  • 真 git 操作大全 不会就看

    git 常用命令git 远程操作git 撤销操作 推酷git大全 react router4 中文文档 koa 简...

  • git常用操作

    git缩写配置: 在.gitconfig文件中添加: [alias] git常用操作: git clone 克隆一...

网友评论

      本文标题:Git常用操作

      本文链接:https://www.haomeiwen.com/subject/mxltyhtx.html