git 添加review的相关操作

git主机上涉及到的操作:

185  git branch
  186  git pull
  187  git branch
  188  git checkout -b wangcheng
  189  git log
  190  cat /tmp/0001-black-report.patch | git am
  191  git log
  192  git commit --amend
  193  git log
  194  git push origin wangcheng
  195  git branch
  196  git checkout master
  197  git log
  198  git pull
  199  git log

自己主机上涉及到的操作

  323  cd kernel/
  324  ll
  325  git diff
  326  git status
  327  git diff
  328  clear
  329  git diff
  330  clear
  331  git diff
  332  ls
  333  git diff
  334  clear
  335  git diff
  336  clear
  337  ll
  338  cd ReaderNew/
  339  ll
  340  cd src/
  341  ll
  342  cd fetcher/
  343  ll
  344  git diff
  345  clear
  346  ll
  347  vim fetcher_product_category.cpp 
  348  vim ~/.vimrc 
  349  source ~/.vimrc 
  350  vim ~/.vimrc 
  351  source ~/.vimrc 
  352  vim ~/.vimrc 
  353  source ~/.vimrc 
  354  vim ~/.vimrc 
  355  git status
  356  cd ../../../ExchangeAudit/
  357  git status
  358  rm ExchangeAudit.iml
  359  rm out/
  360  rm -rf out/
  361  rm .idea/
  362  rm -rf .idea/
  363  git diff .gitignore
  364  git checkout -- .gitignore
  365  git status
  366  git diff conf/dbcp.property
  367  git checkout -- conf/dbcp.property
  368  git status
  369  git diff src/com/tanx/APITest.java
  370  git dif src/com/mediav/ea/db/ConnectionPool.java
  371  git diff src/com/mediav/ea/db/ConnectionPool.java
  372  git checkout -- src/com/mediav/ea/db/ConnectionPool.java
  373  git status
  374  git diff src/com/mediav/mobile/APITest.java
  375  git checkout -- src/com/mediav/mobile/APITest.java
  376  git checkout -- src/com/tanx/APITest.java
  377  git diff src/com/mediav/mix/MixHelper.java
  378  git checkout -- src/com/mediav/mix/MixHelper.java
  379  git status
  380  git checkout -- conf/email.html
  381  rm conf/email.html
  382  git status
  383  git add conf/galileo_data.property src/com/mediav/ea/db/ConnectionPool2.java src/com/mediav/report/
  384  git status
  385  git commit -m "black report"
  386  git log
  387  git commit -m "black report"
  388  git config --global user.email "wangcheng-sal@360.cn"
  389  git config --global user.name "wangcheng-sal"
  390  git commit -m "black report"
  391  git log
  392  ls -ltrh
  393  git format-path -s HEAD~1..HEAD
  394  git format-patch -s HEAD~1..HEAD
  395  ls -ltrh
  396  scp 0001-black-report.patch wangcheng-sal@git2:/tmp

posted @ 2017-07-26 17:58  eversliver  阅读(5068)  评论(0编辑  收藏  举报