Git 状态 M,T,D,A,U
来源:互联网 发布:vscode 编译运行c 编辑:程序博客网 时间:2024/04/29 16:59
在使用git checkout , git status,或git diff files时会出现一些状态标志,M,T,D,A,R,U等等。
如:
# git status -s
A code_iOS/UnionRich1.0/UnionRich/Png/zhifuImage/payway_icon_wechat@3x.png
A code_iOS/UnionRich1.0/UnionRich/Png/zhifuImage/payway_icon_zhi@3x.png
M code_iOS/UnionRich1.0/UnionRich/UnionRich_PrefixHeader.pch
UU code_iOS/UnionRich1.0/UnionRich/controllerView/other/AppDelegate.m
M code_iOS/UnionRich1.0/UnionRich/controllerView/other/ViewController.m
M "code_iOS/UnionRich1.0/UnionRich/controllerView/\344\270\252\344\272\272\344\277\241\346\201\257/controller/YTMessageController.m"
M "code_iOS/UnionRich1.0/UnionRich/controllerView/\346\224\266\346\254\276/controller/CollectMoneyView.m"
M "code_iOS/UnionRich1.0/UnionRich/controllerView/\346\224\266\346\254\276/controller/ZbarViewController.m"
M "code_iOS/UnionRich1.0/UnionRich/\347\254\254\344\270\211\346\226\271/Self-adaption/ToolViewAndData.m"
A "code_iOS\320UnionRich1.0/UnionRich/controllerView/other/ViewController.h"
A "code_iOS\320UnionRich1.0/UnionRich/controllerView/other/ViewController.m"
A "code_iOS\320UnionRich1.0/UnionRich/controllerView/other/gtmbase64+XY/NSString+ex.h"
A "code_iOS\320UnionRich1.0/UnionRich/controllerView/other/gtmbase64+XY/NSString+ex.m"
A "code_iOS\320UnionRich1.0/UnionRich/controllerView/other/model/UserEntity.h"
A "code_iOS\320UnionRich1.0/UnionRich/controllerView/other/model/UserEntity.m"
A "code_iOS\320UnionRich1.0/UnionRich/controllerView/\344\270\252\344\272\272\344\277\241\346\201\257/controller/YTMessageController.m"
A: 你本地新增的文件(服务器上没有).
C: 文件的一个新拷贝.
D: 你本地删除的文件(服务器上还在).
M: 文件的内容或者mode被修改了.
R: 文件名被修改了。
T: 文件的类型被修改了。
U: 文件没有被合并(你需要完成合并才能进行提交)。
X: 未知状态(很可能是遇到git的bug了,你可以向git提交bug report)。
在man git diff-files中可以查到这些标志的说明。
这些状态标志在git的源代码的diff.h文件中被定义。
- Git 状态 M,T,D,A,U
- Git 的M,T,D,A,U标志是什么意思
- git 中 A C D M R T U X 分别解释
- thinkphp 字母函数介绍T/I/N/D/M/A/R/U
- N o v e m b e r 6 t h T u e s d a y
- N o v e m b e r 8 t h T h u r s d a y
- N o v e m b e r 1 3 t h T u e s d a y
- N o v e m b e r 2 0 t h T u e s d a y
- N o v e m b e r 2 7 t h T u e s d a y
- N o v e m b e r 2 9 t h T h u r s d a y
- H a r d F a u l t
- 基础地理信息术语(a-b-c-d-e-f-g-h-i-k-l-m-n-o-t-u-v-w-x-y-z)
- EXECUTE IMMEDIATE
- 运行时类型识别 d y n a m i c_ c a s t
- 用于C U I应用程序:/ S U B S Y S T E M : C O N D O L E,而用于G U I :S U B S Y S T E M : W
- Hibernate merge、update与saveOrUpdate方法的区别
- SVN A C D M G U R I的含义
- SVN更新项目A C D M G U R I的含义
- android 侧滑菜单DrawerLayout
- java 普通类调用spring bean对象
- CBP详解
- ios开发sdk集成.a静态库duplicate问题解决
- [nginx] 网上最全面nginx教程(近100篇文章整理)
- Git 状态 M,T,D,A,U
- 生成验证码
- Android studio中使用greenDao开源框架
- VS2008在win32位编译的打包安装程序 在win7 64位 运行
- 客户端项目开发流程
- 每个程序员需掌握的20个代码命名小贴士
- 大批量导入数据到mysql
- Nginx配置文件nginx.conf中文详解(总结)
- Any problem in computer science can be solved with another layer of indirection