进阶之路

1、关于Android MVP Adapter上的应用   https://github.com/JerryMissTom/LookLook

2、git命令

git status //检查修改状态

git branch//检查分支

git add . //将所有的文件添加进去

git commit -m '描述'

git pull    (git pull origin feature) //下载下代码

git push  (git push —set-upstream origin feature)//上传代码

git fetch origin # 抓取远程仓库更新

git pull origin feature  下载gitlab上的代码

git tag -a v1.0.1-3  //对当前分支做附注标签

git tag -d v1.0.1-3 //删除指定的标签

git push origin v1.0.1-3 //将v1.0.1-3 标签提交到git服务器上

git co feature/master  // 切换到相应的分支上

git merge feature //将feature分支合并到当前分支上

./gradlew clean删除app目录下的build文件夹

./gradlew assembleRelease  编译并打Release包

./gradlew build 检查依赖并编译打包

从git上上传代码

git init  将目录变成git可以管理的仓库

git add . 将文件添加到暂存区

git commit -m “ “ 提交到仓库

git remote add origin 远程库地址 关联到远程库

git pull —rebase origin master  获取远程库与本地同步合并

git push -u origin master  将本地库内容推送到远程

git status 检查状态

创建分支

在本地新建一个分支: git branch Branch1

切换到你的新分支: git checkout Branch1

将新分支发布在github上: git push origin Branch1

3、系统分享

Intentintent =newIntent(Intent.ACTION_SEND);

intent.setType("text/plain");

intent.putExtra(Intent.EXTRA_TEXT,"www.baidu.com");

startActivity(Intent.createChooser(intent,“title"));

4、动画

https://github.com/airbnb/lottie-android.git

https://github.com/REBOOTERS/AndroidAnimationExercise.git

https://github.com/airbnb/lottie-android



5、RXJava

http://www.cnblogs.com/zhaoyanjun/p/5535651.html


6、git ssh配置

http://jingyan.baidu.com/article/a65957f4e91ccf24e77f9b11.html

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • 1. 安装 Github 查看是否安装git: $ git config --global user.name "...
    Albert_Sun阅读 13,750评论 9 163
  • Spring Cloud为开发人员提供了快速构建分布式系统中一些常见模式的工具(例如配置管理,服务发现,断路器,智...
    卡卡罗2017阅读 135,253评论 19 139
  • git常用命令 GIT常用命令备忘:http://stormzhang.com/git/2014/01/27/gi...
    新篇章阅读 8,677评论 1 26
  • 一、BitCode是什么 Bitcode is an intermediate representation of...
    Yaanco阅读 1,023评论 0 7
  • 世界上最美的艳遇就是遇见一个全新的自 己 美白的误区在哪?现在你的皮肤白吗?秋天有做防晒吗!都是保养的方法!但是美...
    青桔笙歌阅读 402评论 0 1