Wednesday, August 1, 2012

Working with a git branches

Addition info could be found at: http://evasive.ru/articles/git_kung-fu.html http://git-scm.com/about http://www.gitguys.com http://gitref.org First, clone a remote git repository and cd into it:     $ git clone git://example.com/myproject     $ cd myproject Next, look at the local branches in your repository:     $ git branch     * master But there are other branches hiding in your repository! You can see these using the `-a` flag:     $ git branch -a     * master    ...

Powered by Blogger.