Sublime Forum

Basic help

#1

I have been struggling to use sublime merge, needing to go back to terminal to do basic things. How do I type git commands into the command bar? In particular I cannot figure out how to run the following commands

git fetch origin main
git push origin bobdev:main

Whenever I click the drop down for pushing and pulling in the top right, if I try to type anything then I cannot run the command.

0 Likes

#2

The commands available in the drop bar don’t take arbitrary arguments; they are predefined to specific fetch operations (fetch, prune, etc). The push operations work similarly.

For fetching only commits from specific branches I believe you’d need to define your command and add them to the menu or command palette. That is covered in the docs I think.

For pushing to a branch other than the one that’s currently checked out, I think you can do that by right clicking on the local branch and choosing the option to Set Upstream.

0 Likes