-
Notifications
You must be signed in to change notification settings - Fork 93
Working with GIT
tm1000 edited this page Aug 2, 2011
·
14 revisions
##Setting up and cloning the repository for the first time
Checking out the Repository into the superfecta directory:
git clone [email protected]:tm1000/Caller-ID-Superfecta.git superfecta
Change directory to the superfecta directory
cd superfecta
Fetch all remote branch information
git fetch
Checkout and track remote branch v2.2.5.x from remote named 'origin'
git branch --track v2.2.5.x origin/v2.2.5.x
##Working with the branches
Push/Commit local changes to remote server
git add -A
git commit -m "Commit Message"
git push
Used to checkout branch v2.2.5.x
git checkout v2.2.5.x
Used to checkout master
git checkout master
##Merging branches into the Master branch
Used to Merge branch v2.2.5.x into Master
git checkout master
git merge v2.2.5.x