码迷,mamicode.com
首页 >  
搜索关键字:branch    ( 1809个结果
Git实际操作
1.基本操作 git init 初始化仓库 git status 查看仓库状态 git add XXX.XX 向暂存区中添加文件XXX.XX git commit 保存仓库的历史记录 git log 查看提交日志 git diff 查看更改前后的差别 2.分支操作 git branch 显示分支一览 ...
分类:其他好文   时间:2018-12-25 23:42:17    阅读次数:244
汇编 if else 例子
.text .global _start _start: mov r1,#1 mov r2,#2 cmp r1, r2 bgt branch1 add r3,r1,r2 b end branch1: sub r3,r1,r2 end: nop C 语言: if(a>b) a = a- b else ...
分类:其他好文   时间:2018-12-25 18:12:02    阅读次数:145
第27月第24天 git pull fetch
1. 在进行 pull 操作的同时,其实就是 fetch+merge 的一个过程。我们从 remote 分支中拉取新的更新,然后再合并到本地分支中去。 为了去除自动生成的 log 信息,有以下几种解决方案: https://www.cnblogs.com/Sinte-Beuve/p/9195018. ...
分类:其他好文   时间:2018-12-24 11:11:11    阅读次数:101
Git学习一:基本用法
git config:配置相关信息 git clone:复制仓库 git init:初始化仓库 git add:添加更新内容到索引中 git diff:比较内容 git status:获取当前项目状况 git commit:提交 git branch:分支相关 git checkout:切换分支 g ...
分类:其他好文   时间:2018-12-21 01:02:27    阅读次数:148
看不到git远程分支
1、先用fetch命令更新remote索引 $ git fetch 2、再查看remote分支,发现已经可以看到目标分支 $ git branch -a 3、再切换分支 $ git checkout dev-1.0 4、如需合并master分支到dev-1.0,则执行: $ git merge ma ...
分类:其他好文   时间:2018-12-19 22:01:13    阅读次数:333
git 操作提交代码
git status git branch git add . git status git commit -m "/* 注释 */" git status git branch git push -u origin user git checkout master git branch git m... ...
分类:其他好文   时间:2018-12-17 15:59:18    阅读次数:112
git连接不上远程仓库---visualstudio提交代码报错:no upstream configured for branch 'master'
1,新建文件夹,在文件下下鼠标右键git bush >git init,初始化仓库; 2,设置gitthub仓库地址:git remote add origin https://github.com/z*****g/lm.git 3,git pull origin master 4,git push ...
分类:其他好文   时间:2018-12-16 14:33:58    阅读次数:788
git 命令详解
1.git add 添加文件到缓存 情形是:在工作目录中新建bb.txt,cc.txt 2.git status 查看工作目录和缓存区的代码文件的状态(上次提交之后) 当前情形:(1)git add . 命令把bb.txt文件加入缓存中,(2)当前目录新建文件cc.txt (3)修改bb.txt文件 ...
分类:其他好文   时间:2018-12-15 17:11:23    阅读次数:187
git命令
Git的几个区域: WorkSpace:工作区 Index/Stage: 暂存区 Repository:本地仓库 Remote:远程仓库 git branch 查看本地分支。 git branch -l 查看本地分支。 git branch -r 查看远程分支。 git branch -a 查看所有 ...
分类:其他好文   时间:2018-12-14 23:02:50    阅读次数:212
git远程仓库问题
同时也可以查看branch信息 ...
分类:其他好文   时间:2018-12-14 19:27:33    阅读次数:205
1809条   上一页 1 ... 49 50 51 52 53 ... 181 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!