Posts

Showing posts from July, 2014

Using git with my case #1

Using git with my case #1 Display branch >>> git branch -a -v >>> git branch -r ; display remote branches >>> git remote update origin --prune Delete branch >>> git branch -d ; delete local branch >>> git push origin : ; delete remote after delete local branch >>> git push origin --delete ; delete remote Get data from remote ( origin ) >>> git fetch origin ; get info of remote branch to our local machine note*     git pull do         1. git fetch         2. git merge Diff local with remote or others >>> git diff >>> git diff ; diff local branch with remote branch Fetching >> git fetch ; fetch all branches heads >> git fetch --tags ; fetch all tags Start Hotfix 1. Check latest tag     >> git fetch --tags 2. Start hotfix tags     >> git tags ; check latest tags     >> git flow hotfix start