工具
Breakwu
沙雕网友
展开
-
git
gitk --simplify-by-decoration --all原创 2019-04-17 20:02:03 · 84 阅读 · 0 评论 -
QT
1、首先下载安装VS2017,只需要安装VC++模块即可,下载安装步骤自己百度一下。2、安装qt,安的时候选择原创 2019-06-27 20:26:52 · 130 阅读 · 0 评论 -
cmake中的function/aux_source_directory/add_executable
function (BuildFidl FidlFileName PackageDir InterfaceName)…endfunction()这是定义了一个函数,之后可以在其他地方调用,其中括号内的第一个数是函数名字,之后的数是函数参数。...原创 2019-06-24 14:11:49 · 900 阅读 · 0 评论 -
CMAKE默认变量
代表当前编译的文件指定的生成目录比如:|–a| |----a.c|–out|—a.o其中out/就是a.c的CMAKE_CURRENT_BINARY_DIR原创 2019-06-24 11:50:47 · 1302 阅读 · 0 评论 -
git 分支重命名
git branch -m原创 2019-06-14 10:13:18 · 177 阅读 · 0 评论 -
.editorconfig
告诉EditorConfig插件,这是根文件,不用继续往上查找root = true匹配全部文件[*]结尾换行符,可选"lf"、“cr”、“crlf”#end_of_line = lf在文件结尾插入新行#insert_final_newline = true删除一行中的前后空格#trim_trailing_whitespace = true设置字符集charset = utf...原创 2019-05-31 09:54:01 · 291 阅读 · 0 评论 -
git stash
stash删除指定git stash drop stash@{0}保存为指定名字git stash save “test-cmd-stash”原创 2019-05-23 17:28:53 · 61 阅读 · 0 评论 -
配置格式
git有个自动转换换行符功能,在文件commit时会自动转换换行符格式;不想使用,也可以通过 git config --global core.autocrlf false 关闭;如果仅仅想要让编辑器显示LF,除了楼上说的 利用.eslintrc配置,然后ctrl+s 保存时一个个转换;另外一个方法是使用git-windows自带有dos2unix.exe,执行 find . -type ...原创 2019-05-27 13:49:06 · 125 阅读 · 0 评论 -
git reset
git reset --soft HEAD~1原创 2019-05-10 16:03:47 · 155 阅读 · 0 评论 -
git rebase
git checkout experimentgit rebase master在分支上rebase 就是讲这个分支的commit打包成补丁。现在回到 master 分支,进行一次快进合并。git checkout mastergit merge experiment多个合并为一个git rebase -i origin/masterpick:正常选中reword:选中,并...原创 2019-04-19 22:55:45 · 91 阅读 · 0 评论 -
git多账号
1.取消globalgit config --global --unset user.namegit config --global --unset user.email2.生成公钥进入.ssh,ssh-keygen -t rsa -C “注册邮箱”复制到github或者其他远程库3.创建config文件(在.ssh目录)#githubHost github HostName g...原创 2019-04-19 14:06:32 · 95 阅读 · 0 评论 -
cmake编译库
ADD_LIBRARY原创 2019-08-27 10:28:43 · 305 阅读 · 0 评论