Replies: 2 comments 5 replies
-
Take a look at the introduction to lazygit video, I think this part explains it. |
Beta Was this translation helpful? Give feedback.
-
One use case of this feature is when users develop code in a staging or shared development server. This happens when the user doesn't has a local environment. Staging servers often don't have push permissions to Github, but the user can create a patches folder, zip it and send it to a maintainer to merge it into the repo. And although many users use Github, Bitbucket or Gitlab, we should be able to develop without one. There's workflows that integrate patches with email, but this would be another step. As a developer I:
The user with push permissions:
I know many people are using workflows that depend on CI, Github and other stuff, but I still think this can be useful for some use cases. |
Beta Was this translation helpful? Give feedback.
-
I couldn't do the
format-patch
andam
in a repo with Lazygit although it's quite easy with git in the command line.Is this done by the "view custom patch options"? I keep getting the "No patch created yet..." error. It's confusing to me.
In the command line I do (from the feature branch):
git format-patch main -o patches
to create it and:
git am < patches/*
to import it.
I'm using:
build source=macports, version=0.35, os=darwin, arch=arm64
Beta Was this translation helpful? Give feedback.
All reactions