git冲突处理 (场景:A和B修改相同的文件,A先提交到远程仓库,然后B提交push报错,远程仓库有更改,git自动合并失败,需要手动合并 提示错误:Automatic merge failed; fix conflicts and then commit the result. 打开冲突的文件,删除特殊字符(蓝色框框) 最后,依次执行就可以啦!
--查看当前的存放位置 select database_id,name,physical_name AS CurrentLocation,state_desc,size from sys.master_files where database_id=db_id(N'数据库名'); --修改文件的存放位置下次启动生效 --testDb为数据库名, alter database 数据库名 modify file ( name = 文件名(不包含后缀), filename = '文件存储路径'
[git查看某个文件修改历史] 1.使用git命令 git whatchanged charge.lua 显示某个文件的每个版本提交信息:提交日期,提交人员,版本号,提交备注(没有修改细节) git show 7aee80cd2afe3202143f379ec671917bc86f9771 显示某个版本的修改详情 2.visual studio code可以加载git history插件. Press F1 and select/type "Git: View History (git log)