GIT Repository Management This tutorial explains how to use GIT to create a project, add files, commit modifications and upload them in the remote rep ...
分类:
其他好文 时间:
2020-01-11 13:21:31
阅读次数:
85
一、概述 官方文档:https://vuex.vuejs.org/zh/installation.html 1.1vuex有什么用 Vuex:实现data(){}内数据多个组件间共享一种解决方案(类似react的redux) 1.2什么情况下使用vuex 虽然 Vuex 可以帮助我们管理共享状态,但 ...
分类:
其他好文 时间:
2020-01-11 09:34:53
阅读次数:
62
先来理解一下git的工作流程 git add新增or修改 git commit 暂存区的目录树写到版本库(对象库)中,master 分支会做相应的更新,即 master 指向的目录树就是提交时暂存区的目录树。 git reset HEAD暂存区的目录树被 master 分支指向的目录树所替换 git ...
分类:
其他好文 时间:
2020-01-11 00:12:58
阅读次数:
83
首次上传本地项目: 1. git init //初始化仓库 2. git add .(文件name) //添加文件到本地仓库 3. git commit -m “first commit” //添加文件描述信息 4. git remote add origin + 远程仓库地址 //链接远程仓库,创 ...
分类:
Web程序 时间:
2020-01-10 18:47:59
阅读次数:
97
在合并分支的时候,希望将多次提交合并成一个,然后再 cherry pick 到主分支。 合并分支 develop 分支做开发,可能会进行多次提交,但是在发布或者进行 PR 的时候,我们只希望看到一次提交。这个时候,我们需要进行 之后进行合并。 这个时候,看到的是一上对 COMMIT 信息的提示 第一 ...
分类:
其他好文 时间:
2020-01-10 18:45:54
阅读次数:
167
语法:explainplanfor+目标SQLselect*fromtable(dbms_xplan.display);eg:SQL>explainplanforselectempno,ename,dnamefromscott.emp,scott.deptwhereemp.deptno=dept.deptno;Explained.SQL>setlinesize800SQL>sel
分类:
数据库 时间:
2020-01-10 17:20:42
阅读次数:
318
使用Atomikos实现JTA分布式事务 在这篇文章中: 1.1 JTA事务模型 2 JTA规范接口 3 Atomikos分布式事务 本文全面的介绍了JTA分布式事务模型和接口规范,以及开源的分布式事务解决方案Atomikos。笔者认同"talk is cheap,show me the code" ...
分类:
其他好文 时间:
2020-01-10 14:07:25
阅读次数:
92
git中修改上一次提交的commit的message git commit --amend -m "你的新的注释" git push -f 多个commit https://www.jianshu.com/p/ec45ce13289f ...
分类:
其他好文 时间:
2020-01-10 12:38:11
阅读次数:
253
git bash 平常提交代码流程: 1. 在文件根目录下鼠标右键点击空白处,选择git Base here 2. git status 查看哪些文件被修改,文件状态为 modified, 也就是被修改了,“Changes not stagged for commit”表示文件被修改但是提交前还没有 ...
第一步:建立本地git仓库 cd到你的本地项目根目录下,执行git命令 git init 第二步:将本地项目工作区的所有文件添加到暂存区 git add . .表示所有文件 如果想添加项目中的指定文件,那就把.改为指定文件名即可 第三步:将暂存区的文件提交到本地仓库 git commit -m "" ...
分类:
Web程序 时间:
2020-01-10 10:48:57
阅读次数:
108