Mac上JDK的版本为1.8,编译AOSP时发现需要JDK 1.7。想找一种比较容易切换JDK版本的方式,经过一番Google发现Jenv比较合适。安装Jenv至少有三种方式:-$ git clone https://github.com/gcuisinier/jenv.git ~/.jenv-$ ...
分类:
系统相关 时间:
2015-04-26 19:33:16
阅读次数:
596
前提是已经安装有Eclipse、Maven、Git。 1、Maven ?2、Git? 1)clone with ssh key 上图是指定Git默认下载路径(可选) 上图是设定git当前用户和邮箱 上图是指定ssh key文件位置的,可以选择多个 打开git视图。 ...
分类:
系统相关 时间:
2015-04-26 09:34:50
阅读次数:
249
前一阵子搞MQTT,当时做了点笔记
1.git clone这个工程
git clone http://git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.java.git
2.进入这个工程
cd org.eclipse.paho.mqtt.java
3.安装工具mavn
sudo apt-get i...
分类:
编程语言 时间:
2015-04-25 18:27:12
阅读次数:
400
1、首先建立一个文件夹用以测试 2、在test中写入一个main.c的文件其内容如下: 3、然后就建立一个git仓库了 4、然后就是把内容加进去了,上传上去 5、然后我们看下git log的信息 6、有东西了吧?说明上传好了。然后就是要在建立一个git中心仓库repos了。 他是clone了刚刚那个...
分类:
Web程序 时间:
2015-04-25 18:16:44
阅读次数:
104
用gitolite新建项目,clone后首次push,可能会出现:$gitpushNorefsincommonandnonespecified;doingnothing.Perhapsyoushouldspecifyabranchsuchas'master'.fatal:Theremoteendhu...
分类:
其他好文 时间:
2015-04-25 13:28:44
阅读次数:
160
1. 创建git资源库 git init --bare 库名称 2. 在用户文件夹下把资源clone下来 git clone /g/software/repository/git/itheima . 注意:clone时候用户目录必须为空3. 创建一个文件,纳入到版本控制中。 gi...
分类:
其他好文 时间:
2015-04-25 12:06:59
阅读次数:
111
公司同事用的ubuntu系统,自动补全功能不错,但是本人的Centos 6.6系统使用sudo的时候就不能自动补全了,git命令也不能自动补全。
网上搜索一番解决方法如下。
一 git不能补全问题
下载git源码 $ git clone https://www.kernel.org/pub/scm/git/
找到git-completion.bash文件拷贝到 ~/目录下
$ s...
分类:
其他好文 时间:
2015-04-25 00:16:32
阅读次数:
156
package com.eyugame.modle;
/*原型类*/
public abstract class Prototype implements Cloneable {
private int x;
private int y;
/*复制*/
public Prototype clone() {
Prototype prototype =...
分类:
其他好文 时间:
2015-04-24 22:45:07
阅读次数:
124
Git 常用命令整理取得Git仓库初始化一个版本仓库git initClone远程版本库git clone git@xbc.me:wordpress.git添加远程版本库origin,语法为 git remote add [shortname] [url]git remote add origin ...
分类:
其他好文 时间:
2015-04-24 22:28:24
阅读次数:
107
Git 常用命令整理取得Git仓库初始化一个版本仓库git initClone远程版本库git clone git@xbc.me:wordpress.git添加远程版本库origin,语法为 git remote add [shortname] [url]git remote add origin ...
分类:
其他好文 时间:
2015-04-24 21:02:51
阅读次数:
118