git tag v0.1 git tag v0,1 xxxxxx git branch stable v2.5 # start a new branch named "stable" based on v2.5 git branch -d branchname # delete a branch
peter@peter-laptop:~/peki/.git/refs/remotes/origin$ vim master
what is in master is the last commit number
[root@dhcp03 libs]# git branch
master
[root@dhcp03 libs]# git checkout master Switched to branch 'master' [root@dhcp03 libs]# git merge test2
I am makeing a change on branch test
git branch test git checkout test //make a change git diff -p master -- . > my-patch.txtthen I
peter@peter-laptop:~/kdocs/linux/git$ git checkout master M linux/git/1.c Switched to branch "master" peter@peter-laptop:~/kdocs/linux/git$ git apply my-patch.txt linux/git/my-patch.txt:10: trailing whitespace.
Git meets a probelm when I creat sub repo doc-yaxtu/yum-doc, so I remove this dir then I find another dir also has .git, so I delete it as well it seems to me that the newer version has subrepo support, but not perfect. and the one in ubuntu repo has no such support.