git integration in matlab
Mostrar comentarios más antiguos
i'm using git versioning embedded in matlab since a couple of weeks. Since i'm used to linux console commands i prefer to input git commands using matlab command window instead of the UI (plus i need to do some scripting with it).
The syntax is basically the same as git bash with an additional '!':
!git commit -m "Example command syntax"
I had no problem with 99% of the commands, from the most basic ones (push, pull, ...) to more advanced ones (rebase, cherry-pick, ...).
There is one command though:
!git gui
which works fine, meaning that it actually opens the installed git gui and allows you to work within it, BUT you cannot get out of it. The moment you close the gui matlab is stuck in a 'busy' status loop.
Anyone has any idea why and if so how to solve it? I know i could just avoid it and use directly git bash or whatever, but i would still like to know.
Bonus question:
!git rebase -i HEAD~n
works as well but i did not find any way to actually visualize correctly the text file and to edit it. So it is useless.
similarly to before, i just avoid using it and if i need it i use git bash, btu would be nice to know something more about it.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Source Control en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
