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

Interactive Rebase/Commit Squashing not working inside Sourcetree #125

Open
dhanar10 opened this issue Mar 31, 2022 · 0 comments
Open

Interactive Rebase/Commit Squashing not working inside Sourcetree #125

dhanar10 opened this issue Mar 31, 2022 · 0 comments

Comments

@dhanar10
Copy link

In Sourcetree v3.3.9, right-click on a commit and click Rebase children of xxxxx interactively...

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks -c sequence.editor='C:\Users\dhanar_accelbyte\AppData\Local\SourceTree\app-3.3.9\tools\stree_gri' -c core.editor='C:\Users\dhanar_accelbyte\AppData\Local\SourceTree\app-3.3.9\tools\stree_gri' rebase -i --autosquash ade5bf53e5a5c014889bb30820bb1da4c04e7300
C:\Users\dhanar_accelbyte\AppData\Local\SourceTree\app-3.3.9\tools\stree_gri: 1: C:Usersdhanar_accelbyteAppDataLocalSourceTreeapp-3.3.9toolsstree_gri: not found
error: There was a problem with the editor 'C:\Users\dhanar_accelbyte\AppData\Local\SourceTree\app-3.3.9\tools\stree_gri'.
Completed with errors, see above.

It seems like C:\Users\dhanar_accelbyte\AppData\Local\SourceTree\app-3.3.9\tools\stree_gri is translated to C:Usersdhanar_accelbyteAppDataLocalSourceTreeapp-3.3.9toolsstree_gri

Workaround in WSL2 to avoid this problem:

cd /usr/local/bin
sudo ln -s /mnt/c/Users/dhanar_accelbyte/AppData/Local/SourceTree/app-3.3.9/tools/stree_gri.exe C:Usersdhanar_accelbyteAppDataLocalSourceTreeapp-3.3.9toolsstree_gri
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant