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

Add push commit menu #43

Open
victorwwd opened this issue Feb 22, 2025 · 6 comments
Open

Add push commit menu #43

victorwwd opened this issue Feb 22, 2025 · 6 comments
Assignees

Comments

@victorwwd
Copy link

I sometimes need to push a specific commit to the remote origin, but there's currently no way to do that. It would be great if you could add an option in the context menu to push a commit to the remote repository when right-clicking on a commit.

@hansu
Copy link
Owner

hansu commented Feb 22, 2025

How would you push a single commit without a branch?

@victorwwd
Copy link
Author

How would you push a single commit without a branch?

Mainly for the commits on the current branch. Use cmd: git push origin commitHash:refs/heads/branch

@hansu
Copy link
Owner

hansu commented Feb 22, 2025

You can do this either with the VSCode integrated tools:

Peek.2025-02-22.12-47.mp4

Or with Git Graph:

Peek.2025-02-22.12-48.mp4

@victorwwd
Copy link
Author

You can do this either with the VSCode integrated tools:

Peek.2025-02-22.12-47.mp4
Or with Git Graph:

Peek.2025-02-22.12-48.mp4

I know the menu you're talking about. But what I mean is to submit the commit point from the submission history, not the latest commit

@hansu
Copy link
Owner

hansu commented Feb 22, 2025

You mean you have a branch locally and want to push the branch some commits behind HEAD?

@victorwwd
Copy link
Author

You mean you have a branch locally and want to push the branch some commits behind HEAD?

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants