List branch names
Create new branch
git branch liguoliang-com
GDEV SimpleWordPressTheme # git show-branch
! [liguoliang-com] changed version
* [master] changed version
+* [liguoliang-com] changed version
GDEV SimpleWordPressTheme # git checkout liguoliang-com
GDEV SimpleWordPressTheme # git status
# On branch liguoliang-com
Push new branch to Remote Server. e.g. Github:
GDEV SimpleWordPressTheme # git push origin liguoliang-comDevelopment Notes; Tagged with: Git • VCS; @ May 1st, 2014 19:11
Good book for Git: http://shop.oreilly.com/product/0636920022862.do
The Birth of Git
Prior to Git, the Linux Kernel was developed using commercial BitKeeper VCS, however, in 2005, “The commercial company that developed BitKeeper broke down, and the tool’s free-of-charge status was revoked. This prompted the Linux development community (and in particular Linus Torvalds, the creator of Linux) to develop their own tool” — http://git-scm.com/book/en/Getting-Started-A-Short-History-of-GitDevelopment Notes; Tagged with: Bitbucket • Git; @ March 31st, 2013 11:48
Host your code online in as many public and private repositories as you want. Free for 5 users.
Give your code a home on the web. Share what you’re working on with your colleagues, collaborators, or potential employers.
All 5 user accounts are FREE.
Checkout: https://bitbucket.org/Development Notes; Tagged with: Git • GitHub • VCS; @ December 11th, 2012 0:27
git add .
git commit –m “init Import”
git remote add origin https://github.com/.....git
git push origin master
git clone git://…git
git pull origin master
touch README.md git init git add README.md git commit -m "first commit" git remote add origin https://github.com/DavidGuoliang/DoubanAnalytics.git git push -u origin master
git remote add origin https://github.com/DavidGuoliang/DoubanAnalytics.git git push -u origin master
// Proudly powered by Apache, PHP, MySQL, WordPress, Bootstrap, etc,.