一个计算机技术爱好者与学习者

0%

前言

谷歌被墙,在下载安卓源码和SDK时,各种没有进度。这时,就要感谢国内镜像站了。

Android Source

清华大学TUNA镜像源

https://aosp.tuna.tsinghua.edu.cn/
https://wiki.tuna.tsinghua.edu.cn/MirrorUsage/android

为什么要下载Android Source

研究Android尤其是Android系统核心或者是驱动的开发,首先需要做的就是克隆建立本地Android Source版本库。

阅读全文 »

前言

见多识广,方便模仿。

看的多了,写的多了,懂的多了。也就怕的少了,思路广了,境界高了。。。

今天我们来聊聊拓宽世界的途径之一,学习那些牛逼的开源项目!

雨辰推荐

  • ActionBarSherlock
  • HoloEverywhere
  • ViewPagerIndicator
阅读全文 »

前言

Branches in Git are incredibly lightweight as well. They are simply pointers to a specific commit – nothing more. This is why many Git enthusiasts chant the mantra:

branch early, and branch often.

Because there is no storage / memory overhead with making many branches, it’s easier to logically divide up your work than have big beefy branches.

When we start mixing branches and commits, we will see how these two features combine. For now though, just remember that a branch essentially says “I want to include the work of this commit and all parent commits.”

参考文档:

阅读全文 »

前言

有些时候,我们必须把某些文件放到Git工作目录中,但又不能提交它们,比如保存了数据库密码的配置文件、项目运行时生成的临时文件等等,每次git status都会显示Untracked files ...,让人不爽。

好在Git考虑到了大家的感受,在Git工作区的根目录下创建一个特殊的.gitignore文件,然后把要忽略的文件名填进去,Git就会自动忽略这些文件。

阅读全文 »