Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation istructions fail - at least for confused people like me #2

Open
matkoniecz opened this issue Apr 11, 2021 · 1 comment

Comments

@matkoniecz
Copy link

copy /lib/git-resolve-conflict.sh to your .bashrc (this adds just git resolve-conflict)

I copied file contents into my .bashrc file. Not sure how it would add git ... but I tried anyway.

Predictably git resolve-conflict --theirs app/src/main/res/values-da/strings.xml failed with

`git: 'resolve-conflict' is not a git command. See 'git --help'.``

(because why adding function to .bashrc file would create a git function?

Maybe .gitconfig also should be modified? I have for example lg = "!gitk --all&" there.

Looking at how it is defined I expected resolve-conflict() --theirs app/src/main/res/values-da/strings.xml to work, but this failed with

bash: syntax error near unexpected token --theirs'`


Feel free to close it with "hahahahaha, learn to use Linux" but I just wanted to let you know that the current installation instruction is a bit confusing - at least to me.

@matkoniecz
Copy link
Author

It looks to me like I should rather copy https://github.com/jakub-g/git-resolve-conflict/tree/base/bin content somewhere, but I am not sure right now.

matkoniecz added a commit to matkoniecz/git-resolve-conflict that referenced this issue Apr 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant