Showing posts with label git. Show all posts
Showing posts with label git. Show all posts

Friday, December 27, 2013

git flow release a new version

gitflow how to release a new version

steps can be found here. In particular,

  • create a release branch
  $ git checkout -b release-2.1 develop  
  • work on the release branch such as bumping up the version

  • merge to master and develop branch

  • create a tag

  $ git checkout master  $ git merge --no-ff release-2.1  $ git tag -a v2.1   
  • push the tag, see here
  $ git push origin v2.1 

Sunday, September 22, 2013

Tuesday, August 7, 2012

Thursday, July 19, 2012

git status -uno

  git status -uno

Saturday, May 19, 2012

a couple of git branch cmds

1. create a new branch from origin's branch

git checkout -b serverfix origin/serverfix

2. get everything from origin

git fetch origin 

3. deleting remote branch

git push origin :serverfix

Note that the syntax for git push is
git push [remote name] [local branch]:[remote branch]

source: