foolyc


  • 首页

  • 分类

  • 关于

  • 归档

  • 标签
foolyc

git usefull command

发表于 2018-04-10 | 分类于 program |

git恢复单个文件到历史版本

git reset commit版本号 <file>

另外

git checkout commit版本号 <file>

用其他分支整体替换

git reset --hard <branch

强制合并其他分支部分文件

在A分支上时,

git checkout <branch> <file>

A分支的相关文件会被强制覆盖

智能合并其他分支部分文件

假设A/B分支某相同文件均有改动,需要合并该单个文件.
为了不影响目前分支(A)的文件, 从A分支出发, 先建立临时分支

git checkout -b A_temp

在临时分支上合并B分支

git merge B

如果有冲突需要手动修改, 然后提交.
然后切回分支A, 并合并临时分支的相关文件
git checkout A
git checkout A_temp

删除本地分支

git branch -D <branch>

删除远程分支

git check A
git remote prune origin
foolyc

cpp python bingdings

发表于 2018-01-14 | 分类于 program |
c/cpp python bindings
阅读全文 »
foolyc

tensorflow02-tensorflow变量共享及网络共享

发表于 2018-01-02 | 分类于 AI |
tensorflow变量共享及网络共享
阅读全文 »
foolyc

tensorflow自定义变量赋值及加载预训练模型

发表于 2017-12-20 | 分类于 AI |
tensorflow自定义变量赋值及加载预训练模型
阅读全文 »
foolyc

qr code segmentaion

发表于 2017-04-08 | 分类于 program |
qr code segmentaion
阅读全文 »
foolyc

MLY S05 Your development and test sets

发表于 2017-03-29 | 分类于 AI |
Machine Learning Yearning S05 Your development and test sets
阅读全文 »
foolyc

linux message queue

发表于 2017-03-29 | 分类于 program |
linux message queue
阅读全文 »
foolyc

MLY S04 Scale drives machine learning progress

发表于 2017-03-12 | 分类于 AI |
Machine Learning Yearning S03 Scale drives machine learning progress
阅读全文 »
foolyc

MLY S03 Prerequisites and Notation

发表于 2017-03-10 | 分类于 AI |
Machine Learning Yearning S03 Prerequisites and Notation
阅读全文 »
foolyc

MLY S02 How to use this book to help your team

发表于 2017-03-05 | 分类于 AI |
Machine Learning Yearning S01 How to use this book to help your team
阅读全文 »
123
foolyc

foolyc

23 日志
3 分类
20 标签
© 2018 foolyc
由 Hexo 强力驱动
主题 - NexT.Pisces