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

FR: Streamined Git Push/Pull Workflow #5667

Open
dconeybe opened this issue Feb 12, 2025 · 2 comments
Open

FR: Streamined Git Push/Pull Workflow #5667

dconeybe opened this issue Feb 12, 2025 · 2 comments

Comments

@dconeybe
Copy link

Is your feature request related to a problem? Please describe.
A pain point for me using jj is the extra typing involved to do the equivalent of "git push" and "git pull". Namely, the manual moving around of bookmarks when pushing and pulling is both error prone and tedious for me, especially when doing it frequently (which I often do). I'm the kind of guy that likes to push every few minutes to the remote repository.

Describe the solution you'd like
My dream solution is to be able to run jj git push without having to first run jj bookmark move. I'd also like to be able to run jj git pull (a command that does not exist at the time of writing) instead of jj git fetch followed by manually creating a merge commit.

Describe alternatives you've considered
Maybe there is a fancy way to write a revset to do this?

Additional context
Nothing.

@PhilipMetzger
Copy link
Contributor

This will be possible in a native future or if you already work in g3. For your jj git pull command there's #1039. And there are the proposed Topics (#3402) for a simpler topological branching model.

@martinvonz
Copy link
Member

The jj tug alias from #5568 may also be useful.

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

3 participants