
Git
打磨时光
我是打磨匠,关注软件开发,打磨产品,服务人类。
展开
-
git 常用命令总结(最新版)
Git 面试常考的 git merge 和 git rebase 区别 https://www.jianshu.com/p/f7ed3dd0d2d8 在什么场景下,使用git rebase 和 git merge 从目前的开发流程来看,在合并分支的时候最好使用 git merge,使用 git rebase 是有风险的 当你要拉去的分支的是你当前开发的分支,可以使用 git pull --reba...原创 2020-05-05 17:54:02 · 250 阅读 · 0 评论 -
git 常用命令总结
在使用 git 进行版本控制之前,一般会先对 git 进行一些简单的配置,使用 git config git config --local # 只对某个仓库有效 git config --global # 对当前用户的所有仓库有效 git config --system # 对系统的所有登录用户有效 显示 config 的配置 git config --list --local git con...原创 2020-01-31 21:54:54 · 116 阅读 · 0 评论 -
git 忽略特殊文件
github: https://github.com/github/gitignore 这是 java 常用的,如果没有 .gitignore , 在工作区中新建一个就可以了。 # Compiled class file *.class # Log file *.log # BlueJ files *.ctxt # Mobile Tools for Java (J2ME) .mtj.tmp/...原创 2019-06-13 22:46:48 · 236 阅读 · 0 评论 -
git 常用命令
git 学习记录 git 查看 config 信息 查看系统config 查看当前用户(global)配置 git config --global --list 查看当前仓库配置信息 git config --local --list 配置 邮箱、用户名 全局配置 git config --global user.username "username" git config --glob...原创 2019-09-26 22:02:04 · 105 阅读 · 0 评论