Add push commit menu
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.
How would you push a single commit without a branch?
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
You can do this either with the VSCode integrated tools:
https://github.com/user-attachments/assets/a6838bb5-9782-4eda-9547-5cfa7f6037a3
Or with Git Graph:
https://github.com/user-attachments/assets/2adc12ed-aba9-478a-9f2e-25519285cb16
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
You mean you have a branch locally and want to push the branch some commits behind HEAD?
You mean you have a branch locally and want to push the branch some commits behind HEAD?
This can be achieved with Git Lense. RIght click on commit -> push to commit...