终端make命令和Git学习

  • make
    •   make -B(both changed and unchanged files)/-d(describe)/-C(changeDir)/-f(file which renamed)
  •   git config --system(/etc/gitconfig);git config --global(~/.gitconfig);git config(.git/config)
  • git init(initialization)/git clone
  • git commit -v(take in all changed part in comment mode)
  • git rm(remove file from the git repository) -cached(only remove what's cached)[\是git自己的文件模式扩展匹配方式用法,递归]
  • git mv/git log -p() -stat(just states) -pretty=format(定制格式) --since --until --author --n --before --after --grep(提交说明中的关键字) --committer --no-merges(未合并) -- Dir/(only after the pointed Dir)
  • git add暂存git reset HEAD取消暂存
  • git remote add [shortname] [url]
  • git tag
  • git branch -b=git branch&git checkout
  • git merge-->>git rebase
posted @ 2017-11-16 11:35  WangDazui  阅读(1499)  评论(0编辑  收藏  举报