GIT 的一些功能点

Posted on 2015-07-31 14:08:00

GIT 的一些功能点

  1. 放弃当前的commit不进行push, 可以使用前一个commit进行rebase
  1. 把A branch的某一个commit,施加到B branch, 有个cherry-pick命令可以做到

github 的使用:

http://blog.csdn.net/phunxm/article/details/45083335

主要就是用命令生成用于加密传输的公钥和私钥, 把公钥填到github的key list

ssh-keygen -rsa -C "whatever comment"