发表于: 2016-10-09 22:34:38

2 2198


今天完成的事情:学习git的使用,调整接口

明天计划的事情:甲方提供的android端页面大幅度改变导致前面做的功能需要重新梳理逻辑和功能实现。

遇到的问题:

1.

控制器中写了很多if else 判断参数是否符合格式,最后考虑将string为空判断加入到正则表达式判断中,减少if判断的个数。

2.

在新文件中选择clone Existing Repository出错git gui already exists,还没有解决

3.

右键没有git init here ,后来才反应过来,git gui here 中的 Create New Repository不就是创建一个隐藏的.git文件吗

4.

安装页面

additional iconson the desktop

是否在桌面创建图标

use git from the windows command prompt

使用 git 从 windows 命令提示符

这里还设置中文转换等其他问题,可以参考git权威指南

5.

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

这个是一个极简的git gui使用教程,但是创建账号密码那里没有明白,git add 只会将所有文件拷贝到库文件下,然后通过扫描方式添加。

后面上传也失败了。。。

6.

Git merge 报错

unable to obtain your identity

无法获得我的身份

run 

git config --global user.email "you@example.com"

git config --global user.name "you Name"

这里是因为没有设置上传身份导致上传失败,然后使用git bash 命令设置了身份后开始报别的错误,没有找到gui中设置身份的页面。

7.

warning: LF will be replaced by CRLF in 


CounterWebApp/target/maven-status/maven-compiler-


plugin/compile/default-compile/inputFiles.lst.

The file will have its original line endings in your working 


directory.

这个好像是换行符的解析问题,我在第一家公司的时候编码规范中写到过,使用tab键产生的空格因为不同工具解析会不同,缩进要使用

4个空格来完成,不知道是不是这个问题

8.

Pushing to git@github.com:15394730733/-CSS-task.git

ERROR: The key you are authenticating with has been marked as 


read only.

fatal: Could not read from remote repository.


Please make sure you have the correct access rights

and the repository exists.

不知道是不是我这个地方没有打钩的原因,

9.

warning: old-style 'git merge <msg> HEAD <commit>' is 


deprecated.

fatal: refusing to merge unrelated histories

这个问题不知道怎么解决,可能是我操作有问题吧,

回到家换了一个目录结果上传成功了。。。。。。

在java目录下有一个重复的css-task,明天好好学习下这个到底是怎么回事。

其中CounterWebApp是我好几个版本之前写的任务一和二,页面全都没有

10.

starting RMI registry. Error was Port already in use: 40001; nested exception is: 

解决办法:关掉相关进程,重新启动服务器,重新部署,我通过重启eclipse解决。




返回列表 返回列表
评论

    分享到