Menu
  • HOME
  • TAGS

Git Flow GitHub pull request isn't working as expected

git,github,git-flow

The git flow feature finish test command will: Merge the feature branch test back into develop Delete the feature branch Check out develop So once you have run the feature finish command, the test branch should no longer exist. This would explain why GitHub is throwing it's hands up ¯\_(ツ)_/¯...

Git Flow Release Finish - Permission denied

git,atlassian-sourcetree,git-flow

I found someone that could help me with the issue and he had the idea that is was related to some other process locking the file. To verify this I copied my repository somewhere else, opened it with SourceTree and I was able to do the release finish without an...

Having Trouble Installing GitFlow

git,github,git-flow

I've got an answer Run the code C:\Program Files (x86)\Git\bin or C:\Program Files\Git\bin for you to go in the directory /usr/bin and then run the code git clone git://github.com/nvie/gitflow.git -–recursive. If it doesn't work still, try running git bash as an administrator. (Right-click the bash icon in the desktop and...

Why does git-flow not delete remote *release* branches (when finished)?

git,git-flow

I have found that the Maven Release plugin does not work well with the git flow tools. There are several issues with it, e.g. it checks out a full copy of the repo in a temp directory, its version number updates don't work well with the Git Flow workflow, etc....

GitHub Flow and Daily Deployments (Syncing with Master)

git,github,deployment,git-flow

You don't need to rebase master or merge master (I suppose that's what you mean by resync) after master has been updated. Instead, you can merge the topic branch directly into master. You can skip step 2 above. From the GitHub Flow (emphasis added): If the branch has been open...

TeamCity non-deterministic build triggering with Git

git,teamcity,git-flow,buildconfiguration,vcs-trigger

If you have a build trigger that triggers any time there are changes, you will get this behaviour. I have a very similar setup in my project and I normally specify all branch specifications in the trigger build section.

How to introduce scrum and gitflow to a team without overwhelming them? [closed]

git,agile,scrum,git-flow,scrummaster

It sounds as if you're in a good position to make a real difference. Being new to the team doesn't mean that you can't take a leadership role in their new way of doing things. Since your company is going to start off with formal agile training (from an external...

Is there a way for Git Flow to Start & Publish a Feature

git,git-flow

It almost doesn't make sense to use Git Flow for this, because all you're doing is pushing a branch that doesn't have any commits that differ from your feature start point. But from what I'm reading, there isn't a single command that you can use (from either vanilla Git or...

How to clean working directory after closing a feature branch put old code into develop

git,git-flow,git-tower

I'm not entirely sure I understood your problem. Here's what I got : You have a feature branch that you started a while ago, but several changes having been made on develop (master) git checkout develop git fetch -p git pull origin develop (or whatever your main branch is called)...

How does the git-flow plugin integrate into IntelliJ IDEA?

java,git,intellij-idea,git-flow

There is a plugin for git-flow integration via IntelliJ IDEA: https://plugins.jetbrains.com/plugin/7315 Getting git-flow to work via windows can be a little problematic, but once this is done then the plugin works fine, in my experience so far. One note: there should not be any versioned local changed in IDEA when...

Exclude file/folder form a release merge using git-flow

git,workflow,git-flow

if you want to make some changes to code repository before declaring it as your new version you should use a release branch, i.e.: git checkout -b release-1.4 git rm gruntfile.js # this could be an automated script git commit -m "removed files before release" git checkout master git merge...

Is it possible/desirable to have a 'master', 'test' and 'develop' branch when using git-flow?

git,git-flow,git-workflow

git-flow has the concept of release branches that you can use for that purpose. The fact is that in git-flow, develop isn’t simply merged into master. You create first a release branch where you prepare for the live version, test it, and make last minute bug fixes before merging it...

Is git-flow supposed to see a more compressed history on master than develop?

git,git-flow

Is git-flow supposed to see a more compressed history on master than develop? No. Basically (ignoring hotfixes and release candidate branches): master = develop + merge commits. In the scenario I outlined, should I look at the master history and see every intermediate develop version that was merged and...

How do you release a bugfix to a previous version and tag it?

git,git-flow

Git-flow in its original model does not talk about supported major versions at the same time. It does not describe a model where you have the following versions in production: 7.1.5: Two customers are using this 8.2.3: Three customers are using this 9.0.0: This is the next major version that...

Change mail address in each commit [duplicate]

git,bash,email,atlassian-sourcetree,git-flow

Since you only have a few commits to do, rather than the whole history, I would do it by hand using git rebase -i -p and git commit --amend --author "a.jard <[email protected]>". It's covered in this answer which is not the accepted answer, but has double the votes. As to...

Gitflow - master and develop diverged

git,branching-and-merging,git-flow

The git-flow model naturally makes develop and master diverge. There is no way to follow that workflow and ensure that one of develop and master is always an ancestor of the other. If you have a look at the commits that are in master and not in develop, you should...

Continuous integration - git flow

java,jboss,continuous-integration,git-flow

You should use a build server (like Jenkins) that could be configured to poll your git repository and run the build upon commit and on a successful build it would deploy (by a script or some plugin) the build product (jar/war) onto your JBoss server.

Git-Flow and dependencies

git,git-flow

When working on a feature branch, it is a good idea to merge the develop branch into your feature branch regularly, so that you a) know that all will work when you merge back into develop and b) can avoid huge merge conflicts. So that is what I would suggest...

Programmatically determine if git-flow is initialized

git-flow

Answered here. Basically: Check config for gitflow.branch.master and if the branch does exist in the repo Check config for gitflow.branch.develop and if the branch does exist in the repo Master branch can not be the same as develop branch. Make sure all the prefixes are configured. ...

Release with maven + gitflow

git,maven,ssh,release,git-flow

Found the answer, disable ssh check in Ubuntu In your ~/.ssh/config (if this file doesn't exist, just create it): Host * StrictHostKeyChecking no This will turn it off for all hosts you connect to. You can replace the * with a hostname pattern if you only want it to apply...

What is best practice for updating feature branches to a new base?

git,git-flow

I want to complement the two existing answers: instead of merging develop in the feature branches, you could also instead rebase each feature branch on the updated develop branch: git checkout feature git rebase develop Advantages: The history becomes somewhat clearer, because you avoid merge commits such as Merge branch...

How do you use git in “solo-development” (without team)?

git,workflow,development-environment,git-flow

But the process always ends with enormously large commits direct to master branch, with descriptions like "big update", "some update". This is what git rebase --interactive and git add --patch are for. Here's the first thing you've got to do: you have to make yourself a crazy person. No,...

git-flow finish release - selective merge

git,git-merge,git-flow

You can avoid the merge issue entirely by versionning a file "template", with a placeholder value in it: [email protected]@ You can then declare a content filter driver (in a .gitattributes file) in order to automatically generate the right content for that file on checkout, depending on the branch currently checked...

Do I need to checkout and pull a remote git branch before I merge it in?

git,merge,git-merge,git-flow

You can directly pull your remote branch develop, but you may need to mention the remote repository (in your case, origin): git checkout feature git pull origin develop This will result in a merge commit, where the message mentions origin/develop. Without mentioning the remote repo, I'm afraid that the merge...

What git branch should I commit unit tests to?

git,unit-testing,version-control,git-flow

Unit tests are part of your source tree: They evolve as your code evolves, and feature branches have their own unit tests that evolve as the features evolve. There's no reason to keep them in a separate branch. Note that git log accepts a path parameter, so if you want...

Stop getting Git tags from specific remote repo

git,version-control,version,githooks,git-flow

In your .gitconfig, specify remote.remote-name.tagopt. From the git-config man page: remote.<name>.tagopt Setting this value to --no-tags disables automatic tag following when fetching from remote <name>. Setting it to --tags will fetch every tag from remote <name>, even if they are not reachable from remote branch heads. Passing these flags directly...

Gitflow feature vs bugfix branch naming

git-flow,git-workflow,branching-strategy

Great questions and the answer really depends on how you sort your git. The branching model and gitflow in general is trying to give us some order in the chaos that commits are just after a couple of days. The image below shows you what they though makes most sense....

Nightly build for release branch if branch exists

teamcity,git-flow

Use Branch Filter in the Trigger and set the only filter as +:release-* Also in Version Control under Branch Specification use +:(release-*) I also had similar issue and solved it as given above. I think this would solve your problem too....

Should git-flow branches be available on bare repository and its clone?

git,version-control,git-flow

You do not need to run git flow on the bare repository. What is probably happening is that the develop branch has not been pushed to the central repository. On a machine that does have the develop branch, try the following: git push origin develop. The do a git pull...

Git flow and Github

git,github,git-flow

So fork/pull should be kept separate from git flow? Yes: one (Gitflow) is a merge workflow (what to merge from where to where) the other (GitHub fork/pull request) is a publication workflow (what to push and where) The Atlassian tutorial on workflows has therefore two sections: one for gitflow...

How sync work using git-flow

git,version-control,git-flow

Syncing the develop branch is probably the best approach as it shields you away from unfinished features your co-worker is still working on. If your local develop branch is dirty at any given moment, git stash can help you to save away you local work temporarily (and use git stash...

Move develop changes to a new feature branch

git,git-branch,git-merge,git-flow

If you've already made the commit to develop, and your history looks like this: A---B---C---D develop Here, C is the last correct commit on develop, and D should have been committed to a feature branch. Do the following (while on develop): git branch feature # creates feature branch pointing at...

Local branches are tidy, but all the remote branches are still there… Any suggestions?

git,atlassian-sourcetree,git-flow

Pushing the master on the remote should be enough to have those branches 'merged'. You can then delete the remote copies with git push <remote> :<branch>....

Why is git flow feature checkout being deprecated? What should I be using instead?

git,deprecated,git-flow

Based on the version number specified in your question (1.8.0), you are referring to https://github.com/petervanderdoes/gitflow (as opposed to https://github.com/nvie/gitflow, whose most recent release, at the time of writing this answer, is 0.4.1). After cloning that repo and inspecting its log, by running git log --grep=feature --grep=deprecated --all-match I only found...