Commit to develop branch directly in Git Flow?

I’m currently migrating a project to Git Flow and I’m really appreciated the flexibility it provides.

The problem is, in the following situations, may I working on and commit to a development branch directly?

  • Eclipse project with Subclipse: Introduce trunk and branches
  • GitHub: How to send one pull request per separate commit?
  • Show Current Git Branch in Xcode 4.2
  • how to create git branch in remote repository without checking out using jgit
  • git: checkout files from another branch into current branch (don't switch HEAD to the other branch)
  • What will git checkout master + git reset --hard do?
    • a minor typo fix,
    • or a small method-level refactor,
    • or some errors fixes after a feature was merged.

    I’ve read the creator’s post and there is no mention of this situation. What you guys doing in real world?

  • How to set up your username in Git if it contains special characters?
  • What does Bump Version stand for?
  • Find first commit specific to a branch
  • GIT fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree
  • Rewrite git history replacing a word in every single file
  • Git: rebase onto development branch from upstream
  • 2 Solutions collect form web for “Commit to develop branch directly in Git Flow?”

    I think this is up to you. What we’ve done in our project is try and have everything on a branch and then when we are about to release, merge what we definitely want in the release back to develop. Then we create our release branch from develop. I say we have done everything on a branch but for typos and very minor fixes we dont tend to create a branch.

    Totally. The benefit of isolated feature branches in git flow is primarily for the people who requested them. As long as it is a code change that you are sure is ok to go into the next release, it can be made directly into develop. You don’t want to bog down your team with too many feature branches if you can help it.

    Git Baby is a git and github fan, let's start git clone.