1.ArrayList()构造一个初始容量为10的空列表。
2.ArrayList类中的remove()方法,根据元素删除时,只能删除集合中的第一个元素。
3.git commit -m '备注提交的内容'
4.git reflog 可以查看所有分支的所有操作记录(包括已经被删除的 commit 记录和 reset 的操作);
5.git reset --hard 版本的唯一索引值 重置某一版本
6.创建分支:git branch 分支名;切换分支:git checkout 分支名。
7. git branch 查看分支列表。
8.分支合并:git merge '合并分支名称'
9.删除分支:git branch -d '分支名称'
11.远程仓库平台:GitHub【https://github.com】、码云【https://gitee.com】。
12.生成ssh公钥:ssh-keygen -t rsa -C "邮箱" 、查看公钥命令:cat ~/.ssh/id_rsa.pub
13.在push之前最好先进行一次pull的操作。