We’re pleased to announce Sublime Merge is now available - https://www.sublimemerge.com
Let us know if you have any questions!
We’re pleased to announce Sublime Merge is now available - https://www.sublimemerge.com
Let us know if you have any questions!
Cool. Just downloaded it. Does it need a local git binary or will all be handled by Sublime Merge itselfs? I wanted to try it out on a Windows PC without git and I don’t get any error message but cloning also didn’t work because of time outs.
We bundle Git on Windows and Mac, so you shouldn’t need git installed there.
FWIW there’s a git_binary preference that you can set to either a full path, or “system”, to use the system Git, if any.
Hi! I’m really digging the speed of Sublime Merge, but I’m having issues with git-lfs
at the moment.
I have installed git-lfs
via Homebrew on macOS and specified my homebrewed git binary via git_binary
, but that does not seem to help, I keep receiving the following message whenever I try to push to a repository that has Git LFS enabled serverside:
This repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/pre-push.
Obviously, I’d like to keep using git-lfs
, so deleting the hook is not an option (for this particular repository). Is there any way to get this working?
Thanks!
EDIT: Solution below as per Homebrew FAQ:
sudo launchctl config user path "/usr/local/bin:$PATH"
A reboot afterwards is required.
It sounds like we are running the git binary you asked (Help|Debug Information will help to confirm that), but perhaps not with the PATH that it needs to run successfully.
I’ll take a proper look into what the options are later (I’m a bit swamped right now!), but if it is a PATH issue, then the best option is probably editing environment.plist, which is where Mac applications get their PATH from
Yes, I can confirm via Help|Debug that the correct version of git is being used.
I figured it out and got it working. According to the Homebrew documentation, you need to run:
sudo launchctl config user path "/usr/local/bin:$PATH"
and then – after a reboot – your apps can use your homebrewed binaries (including git-lfs). Hope this can be useful for someone else who has the same issue.
Just downloaded, I love it already!
One question, is there a way to bookmark repositories? I work with several repos and it would be great to have a way to quick switch between the ones I use the most instead of going to “Open Recent” every time.
– Never mind, I just found the “Select Repository” and “Switch Repository” windows.
Try Switch Repository - you’ll get a Goto Anything style dialog to open a repository
I cant figure out how to switch the default pull strategy.
I would also like to completely disable push --force, so I don’t run it accidentaly, and only have --force-with-lease available.
is it possible?
Thanks!
SourceTree is able to use plink.exe and the keys from pageant. Is there a way to do the same with Sublime Merge?
Thanks @jps this looks sweet. Couple of things:
https://www.sublimetext.com/blog/articles/sublime-merge
We have a custom implementation of Git for reading repositories, which drives a lot of our high performance functionality. However we defer to Git itself for operations that mutate the repository (Staging, Committing, Checking out branches, etc).
so hooks are handled by Git as normal I guess
"editor_argument_format": "-g ${file}:${line}:${col}",
"editor_path": "c:\\some_path\\VSCode\\Code.exe",
I am not able to answer if Sublime Merge can do that natively but if you have git installed locally(normal) it can be setup to use plink:
If you do not see the screen during the install of git, make sure you have at least one session stored in putty, then try to install git again, it should now give you the option to use plink as the SSH executable
Just installed and started playing around with it. Really cool!
Found a bug: It doesn’t seem to be respecting my .gitignore_global
file. It’s located in my home directory but is symlinked to a copy in a dotfiles directory. Let me know if more details are needed.
ln -s /Applications/Sublime\ Merge.app/Contents/SharedSupport/bin/smerge /usr/local/bin/smerge
did the trick for me