EXAMPLES
Start development from a known tag
$ git clone git://git.kernel.org/pub/scm/.../linux-2.6 my2.6
$ cd my2.6
$ git branch my2.6.14 v2.6.14 (1)
$ git checkout my2.6.14
1. This step and the next one could be combined into a single step with "checkout -b my2.6.14 v2.6.14".
Delete an unneeded branch
$ git clone git://git.kernel.org/.../git.git my.git
$ cd my.git
$ git branch -d -r origin/todo origin/html origin/man (1)
$ git branch -D test (2)
1. Delete the remote-tracking branches "todo", "html" and "man". The next fetch or pull will create them again unless you configure them not to. See git-fetch(1).
2. Delete the "test" branch even if the "master" branch (or whichever branch is currently checked out) does not have all commits from the test branch.
'DIGITory > .......' 카테고리의 다른 글
window용 파일 검색 (0) | 2014.10.31 |
---|---|
tumblr에서 이미지 다운로드 (0) | 2014.10.28 |
1920 x 1080 image ( Red, Green, Blue, White, Black ) (0) | 2013.11.01 |
code highlighter on HTML (0) | 2013.10.16 |
git clone : error: server certificate verification failed. (0) | 2013.08.23 |