A crash course in Git
Clone a repo
Let's take hostmaster:
git clone http://git.drupalcode.org/project/hostmaster.gitIf successful, you will have a hostmaster directory at the last state of development ('HEAD' in CVS speak, usually 'master' branch in git speak, though in our case this is now 6.x-1.x).
Check the status of the local git repository:
git statusSee the commit messages:
git logCheck all 'releases'
git tagCreate a new branch for your local development:
git checkout -b <new_branch_name>Create a new branch for development, based on an existing remote branch or tag
git checkout -b <new_branch_name> origin/<branch_name>- Print entire section
- Login or register to post comments