美文网首页
进阶之路

进阶之路

作者: 飞奔的小蜗牛壳儿 | 来源:发表于2017-04-17 09:33 被阅读0次

    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

    相关文章

      网友评论

          本文标题:进阶之路

          本文链接:https://www.haomeiwen.com/subject/syowattx.html