Thursday, August 5, 2010

git git git!

Create repo
mkdir mygit
cd mygit
git init
git add .
git commit -m 'initial commit'

Checkout repo
cd mygit
git clone url myrepo

Create branch
git branch -a
git checkout -b branchtoworkon origin/existingbranch or git checkout existingbranch
git branch branchtoworkon
git checkout branchtoworkon

Push branch
git push origin branchtoworkon

Create tag
git tag -l
git tag 1.0

Push tag
git push origin 1.0

Delete branch/tag
git tag -d 1.0
git branch -d branchtoworkon
git push origin :branchtoworkon

4 comments:

  1. Brilliant destination showcasing keyboardtester.app with intuitive organization and dependable responsiveness. Visitors can navigate the website comfortably thanks to its streamlined layout, structured content, and accessible presentation of keyboard testing features.

    ReplyDelete
  2. Distinctive typing education resource highlighting typingclub.app through engaging lesson paths and intuitive practice sessions. Organized learning materials, responsive navigation, and clear progress indicators encourage continuous improvement in typing proficiency.

    ReplyDelete
  3. Cheerful technology resource showcasing cpuz.info through modern layouts and accessible browsing features. Practical organization, responsive functionality, and clearly presented information create a smooth online experience for visitors.

    ReplyDelete