Comments (10)
Closing this one now, since it does not apply anymore to the current HEAD. If it happens again in the future, we can always reopen this ticket.
from gitflow.
I'm having the same issue on Ubuntu 11.10
$ git flow feature finish api_clients
Switched to branch 'develop'
Auto-merging db/schema.rb
CONFLICT (content): Merge conflict in db/schema.rb
Automatic merge failed; fix conflicts and then commit the result.
mkdir: cannot create directory `/.gitflow': Permission denied
/usr/lib/git-core/git-flow: 1: cannot create /.gitflow/MERGE_BASE: Directory nonexistent
Solution: create .gitflow
directory
from gitflow.
I'm getting this on OS X 10.7.
$ git flow feature finish scheduled-matches
Switched to branch 'develop'
Auto-merging test/factories/question.rb
Auto-merging config/deploy.rb
CONFLICT (content): Merge conflict in config/deploy.rb
Automatic merge failed; fix conflicts and then commit the result.
mkdir: /.gitflow: Permission denied
/usr/local/bin/git-flow-feature: line 320: /.gitflow/MERGE_BASE: No such file or directory
Git-flow installed by brew:
$ brew info git-flow
git-flow 0.4.1
https://github.com/nvie/gitflow
/usr/local/Cellar/git-flow/0.4.1 (13 files, 132K)
https://github.com/mxcl/homebrew/commits/master/Library/Formula/git-flow.rb
from gitflow.
So what's the fix for this?
from gitflow.
I have same issue too.
git flow feature finish 5409_cycle_option_support [1m] Switched to branch 'develop' Auto-merging spec/models/user_spec.rb CONFLICT (content): Merge conflict in spec/models/user_spec.rb Auto-merging app/models/user.rb Automatic merge failed; fix conflicts and then commit the result. mkdir: /.gitflow: Permission denied /usr/local/bin/git-flow-feature: line 320: /.gitflow/MERGE_BASE: No such file or directory There were merge conflicts. To resolve the merge conflict manually, use: git mergetool git commit You can then complete the finish by running it again: git flow feature finish 5409_cycle_option_support
from gitflow.
@miry Just a few questions:
What's the full path of your repository?
What's the outcome of the command git rev-parse --git-dir
?
What OS are you using?
Currently it looks your are having your repo on the root of your drive.
from gitflow.
What's the full path of your repository?
/Users/miry/projects/jetthoughts/alba/beta4
What's the outcome of the command git rev-parse --git-dir?
.git
What OS are you using?
Mac OS Lion
I have installed via brew. And this error always come when I have conflicts.
from gitflow.
I think trouble that: $DOT_GIT_DIR
is empty. In the file /usr/local/bin/git-flow-feature
because: git rev-parse --git-dir >/dev/null 2>&1
return empty in the file gitflow-common
https://github.com/nvie/gitflow/blob/0.4.1/gitflow-common#L184
from gitflow.
I used version: git-flow/0.4.1
from gitflow.
That line is wrong, it should read git rev-parse --git-dir 2>/dev/null
It's a bug that existed. If you want to use my fork you can follow the instructions on the wiki page
from gitflow.
Related Issues (20)
- git flow tag message will be changed
- Pull deveop origin before creating branch
- Feature Proposal: Add A Subcommand, "Start"
- sorry
- README link 404
- Is it possible to make custom message during MERGE
- [BUG] "Fatal" error of "Working tree contains unstaged changes" returns zero error code HOT 2
- Branch and all commits lost from local machine and server when interrupting "git flow feature finish" and re-running. HOT 1
- How can I suppress "Summary of actions"
- Is it possible to make git flow merge the master branch into develop instead of the hotfix one on finish? HOT 1
- Error when install from `gitflow-installer.sh` HOT 2
- Will git flow be configurable?such as change the hotfix merging direction from Master&develop to Master&realease HOT 1
- Multiline release tag messages cause problems
- ry 2
- Windows gitflow install link has malware HOT 2
- why can't I clone the gitflow folder? HOT 3
- Can't install in Fedora 36
- Link to probably virus in Wiki
- Dead project: Archiv state and link to replacement HOT 3
- how to work gitflow together with github HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gitflow.