码迷,mamicode.com
首页 >  
搜索关键字:git reset    ( 35296个结果)
前端阻止冒泡事件、将项目打包并安装在当前环境中、请求路径参数传递方式、JQ触发动态添加元素、position绝对定位和相对定位、js中动态添加id、Corpus项目部署上线
一、前端阻止冒泡事件 举例:button里面有个span标签,button和span都绑定了点击事件,点击span不会触发button的点击事件 思路:阻止冒泡到上一层 在内部标签span中加入:event.stopPropagation(); 二、将项目打包并安装在当前环境中 将本地python项 ...
分类:Web程序   时间:2020-07-13 18:48:18    阅读次数:119
使用RXJS实现React中的redux功能
起因 偶然间看了一下Angular的服务的依赖注入和rxjs的观察者流的使用,觉得还有点意思,就想在React中实现一下类似的。 准备工作 一个空的React项目。 安装rxjs,npm install rxjs --save; 实现思路 首先是根据业务需求,将需要抽离的全局状态使用不同的服务类进行 ...
分类:Web程序   时间:2020-07-13 18:38:40    阅读次数:102
python+vscode安装与插件配置
文章目录前言vscode使用vscode的安装vscode 的插件配置PythonfilesizeBracket Pair ColorizerAnaconda Extension Packpip install pylintpip install yapf配置git前言vscode编辑器个人感觉非常 ...
分类:编程语言   时间:2020-07-13 18:36:50    阅读次数:69
mac环境homebrew安装
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)" 来自于知乎大神: 金牛肖马 ...
分类:系统相关   时间:2020-07-13 18:03:24    阅读次数:83
Git更新代码使用方法
Git更新代码使用方法 在使用sourceTree过程中,项目太多的话容易造成使用上的错乱,针对一些不常用的项目可以使用git代码的方式进行合并 1、Git pull拉取最新代码 $ git pull 2、git status 查看本地和git上的不同 git status 3、git add . ...
分类:其他好文   时间:2020-07-13 15:32:14    阅读次数:67
git常用命令
一. 创建远程仓库 二. 创建本地仓库 a. 配置.gitignore b. git init c. git add . d. git commit -m "备注" 三. 将本地仓库推送到远程仓库 git remote add origin url git push origin master 四. ...
分类:其他好文   时间:2020-07-13 09:58:46    阅读次数:60
git fetch 和git pull 的差别
1、简单概括 先用一张图来理一下git fetch和git pull的概念: 可以简单的概括为: git fetch是将远程主机的最新内容拉到本地,用户在检查了以后决定是否合并到工作本机分支中。 而git pull 则是将远程主机的最新内容拉下来后直接合并,即:git pull = git fetc ...
分类:其他好文   时间:2020-07-13 09:37:36    阅读次数:53
Your branch and 'origin/master' have diverged, and have 1 and 1 different commits each, respectively
On branch master Your branch and 'origin/master' have diverged, and have 1 and 1 different commits each, respectively. (use "git pull" to merge the re ...
分类:其他好文   时间:2020-07-13 09:17:54    阅读次数:58
Transport Error: Cannot get remote repository refs.https://github.com/xxx/test1.git: cannot open git-upload-pack
问题出现: 在eclipse中pull项目至github上出现该问题 查看报错日志 org.eclipse.jgit.api.errors.TransportException: https://github.com/muzhiyi1996/test1.git: cannot open git-up ...
分类:Web程序   时间:2020-07-12 22:33:02    阅读次数:155
unity-Timeline实践
##Signal 标记 创建Emitter 和 Receiver demo:TimelineInputDemo ...
分类:编程语言   时间:2020-07-12 20:46:18    阅读次数:89
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!