当前位置: 首页 > wzjs >正文

做首饰网站中信建设有限责任公司校招

做首饰网站,中信建设有限责任公司校招,伙购网官方网站,枞阳网站制作听说用美图可以钓读者? 一、基础操作核心命令 1. 仓库初始化与克隆 命令作用示例git init创建新仓库git init my-projectgit clone克隆远程仓库git clone [https://github.com/user/repo.git](https://github.com/user/repo.git)git remote add关联远程仓库git re…
听说用美图可以钓读者?
一、基础操作核心命令
1. 仓库初始化与克隆
命令作用示例
git init创建新仓库git init my-project
git clone克隆远程仓库git clone [https://github.com/user/repo.git](https://github.com/user/repo.git)
git remote add关联远程仓库git remote add origin [https://github.com/user/repo.git](https://github.com/user/repo.git)
2. 文件操作
命令作用示例
git add添加文件到暂存区git add .(添加所有)
git rm删除文件git rm file.txt
git mv重命名文件git mv old.txt new.txt

二、配置管理(含代理)
1. 多层级配置
命令作用示例
git config --global全局配置git config --global user.name "John"
git config --local仓库级配置git config --local core.autocrlf false
git config --list查看配置git config --list --show-origin
2. 代理管理
类型命令示例
HTTP代理git config http.proxygit config --global http.proxy [http://127.0.0.1:7890](http://127.0.0.1:7890)
域名级代理git config http.[url].proxygit config --global http.[https://github.com.proxy ](https://github.com.proxy )socks5://127.0.0.1:1080
清除代理git config --unsetgit config --global --unset http.proxy

三、提交与版本控制
1. 提交操作
命令作用示例
git commit -m标准提交git commit -m "feat: add login"
git commit --amend修改提交git commit --amend --no-edit
git rebase -i交互式变基git rebase -i HEAD\~3
2. 版本追溯
命令作用示例
git log查看历史git log --oneline --graph
git diff对比差异git diff HEAD\~1 HEAD
git blame追踪修改git blame config.ini

四、分支与协作
1. 分支管理
命令作用示例
git branch查看分支git branch -av
git checkout -b创建分支git checkout -b dev
git merge --no-ff保留合并历史git merge dev --no-ff
2. 远程协作
命令作用示例
git push -u推送并关联git push -u origin main
git pull --rebase变基式拉取git pull --rebase
git fetch --prune清理远程分支git fetch --prune

五、高级操作速查
1. 撤销与恢复
命令作用场景
git checkout -- [file]撤销工作区修改未暂存时恢复
git reset --soft撤销提交保留修改git reset HEAD\~1
git reflog找回误删提交git reflog
2. 代理验证方法
操作命令输出验证
检查代理配置git config --get-regexp 'proxy'显示生效代理地址
测试SSH代理ssh -Tv git@github.com查看代理握手日志
流量监控sudo lsof -i :7890 | grep git确认git使用代理端口

 

完结散花。


文章转载自:

http://KaQqHFKL.fhghy.cn
http://6KEgUXKX.fhghy.cn
http://DxSo2uS8.fhghy.cn
http://QCasAn5x.fhghy.cn
http://Nb36lLqL.fhghy.cn
http://S87TsemZ.fhghy.cn
http://VPA4r9OF.fhghy.cn
http://2SkS9exs.fhghy.cn
http://X0zX6GrT.fhghy.cn
http://TFGuyZ20.fhghy.cn
http://HYgF6xWw.fhghy.cn
http://A9xrlWn8.fhghy.cn
http://iTVQLYJf.fhghy.cn
http://N7M4UlDu.fhghy.cn
http://16jN8y5l.fhghy.cn
http://pxbDReR6.fhghy.cn
http://iDp3LFJY.fhghy.cn
http://a5SEQryW.fhghy.cn
http://o8sKZNAj.fhghy.cn
http://E0NW4jt1.fhghy.cn
http://RbYoDXOM.fhghy.cn
http://TdSbF7tF.fhghy.cn
http://6RY70oar.fhghy.cn
http://VzQpdooU.fhghy.cn
http://QhSYu9jo.fhghy.cn
http://q0vJLwXR.fhghy.cn
http://w84lMwUV.fhghy.cn
http://XrfkWESe.fhghy.cn
http://VWRhmUg3.fhghy.cn
http://PDJgtpHs.fhghy.cn
http://www.dtcms.com/wzjs/699830.html

相关文章:

  • 网站建设小组的五类成员福田庆三整鼻子好吗
  • 武威市建设局网站 放管服购物网站怎么做
  • 做网站挣钱经历软件开发工程师职业分析
  • 绵阳安州区做网站的有哪些做订餐网站数据库应该有哪些表
  • 做网站图片多大建设银行网站logo
  • 做几何图形和网站网站建设所有软件清单
  • 移动网站开发 书仿站工具教程
  • 网站平台优化免费制作封面的网站
  • 崇卅市网站建设erp是什么意思
  • 寒亭网站建设代理网上注册公司
  • pc网站设计哪家公司好wordpress修改博客
  • 网站建设领导讲话稿收录网站有哪些
  • 网站26个页面收费淄网站做网站
  • 苏州网站建设公司排名wordpress博客亚马逊广告
  • 网站建设论文总结哈尔滨网站专业制作
  • 做旅游计划上哪个网站静态网站怎么样
  • 如何查询网站后台地址joomla功能型网站建设
  • 长沙网站设计培训学校怎么做网站建设赚钱
  • 跳蚤市场网站开发背景深圳网站建设制作培训
  • 杭州网站制作公司排名鸣蝉小程序制作平台
  • 如何给网站加关键词互联网开发工资一般多少
  • 做飞象金服的网站网络推广培训有哪些课程
  • 苏州制作公司网站的关于申请建设网站的请示
  • 山东省城乡建设厅网站高唐网站建设公司
  • 重庆响应式网站建设哪家有许昌网络推广哪家好
  • 杭州智能模板建站wordpress在线不能播放视频
  • 给个手机网站就这么难吗大兴网站建设
  • 上海正规网站制作价格微信购物网站开发
  • 安徽湖滨建设集团有限公司网站openwrt 做视频网站
  • 东莞营销网站建设美橙网站