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

Apply patchs #38

Open
danilovicente opened this issue Mar 11, 2022 · 2 comments
Open

Apply patchs #38

danilovicente opened this issue Mar 11, 2022 · 2 comments

Comments

@danilovicente
Copy link

danilovicente commented Mar 11, 2022

Hello guys,

I don't know if I being stupid or what, but I only able to apply one patch. It's possible to use more than one? I'm applying like this

curl https://patch-diff.githubusercontent.com/raw/dudik/herbe/pull/25.diff | git apply

What am I doing wrong?

@N-R-K
Copy link

N-R-K commented Mar 13, 2022

If you're getting conflicts, then you'll have to resolve them manually. Try curl -L "https://github.com/dudik/herbe/pull/25.patch" | git am --reject , then manually solve the conflicts. Once done, run git am --continue otherwise git am --abort to give up.

Using git am instead of git apply has the benefit of preserving the commit author and msg.

@danilovicente
Copy link
Author

I'm really bad at coding. I even forgot about this Issue, could someone help me? I was trying to patch the Xresources, dynamic content, and vertical stacking.

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

No branches or pull requests

2 participants