码迷,mamicode.com
首页 > 其他好文 > 详细

GitHub常用命令

时间:2015-04-24 18:43:05      阅读:105      评论:0      收藏:0      [点我收藏+]

标签:

add--Add file contents to the index
bisect--Find by binary search the change that introduced a bug
branch--List, create or delete branches
checkout--Checkout a branch or paths to the working tree
clone ---Clone a repository into a new directory
commit ---Record changes to the repository
diff   ---Show changes between commits, commit and working tree,etc
fetch-----Download objects and refs from another repository
grep -----Print lines matching a pattern
init -----Create an empty Git repository or reinitialize an existing one
log-------Show commit logs
merge ----Join two or more development histories together
mv -------Move or rename a file,adirectory, or a symlink
pull -----Fetch from and integrate with another repository or a local branch

push -----Update remote refs along with associated objects
rebase ---Forward-port local cmmits to the updated upstream head
reset ----Reset current HEAD tothe specified state
rm -------Remove files from the working tree and from the index
show -----Show various types of objects
status ---Show the working tree status
tag ------Create, list, delete or verigy a tag object signed with GPG

GitHub常用命令

标签:

原文地址:http://www.cnblogs.com/zhanshan/p/4453835.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!