Skip to content

[SourceTree] post-commit, gtm command not found #54

@gaelfoppolo

Description

@gaelfoppolo

Hey,

I'm using SourceTree as GUI for my git repos but oddly gtm is not working.
The terminal log of ST gave me this after a closer look:

.git/hooks/post-commit: line 7: gtm: command not found

Here the $PATH when running the post-commit file from ST:

/Applications/SourceTree.app/Contents/Resources/git_local/libexec/git-core:/Applications/SourceTree.app/Contents/Resources/bin:/Applications/SourceTree.app/Contents/Resources/git_local/bin:/Applications/SourceTree.app/Contents/Resources/git_local/gitflow:/Applications/SourceTree.app/Contents/Resources/git_local/git-lfs:/usr/bin:/bin:/usr/sbin:/sbin

I use ZSH and it's working fine (terminal plug-in installed).

Any idea?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions