How can I use source control programmatically?

4 Ansichten (letzte 30 Tage)
Tzvetelin
Tzvetelin am 4 Okt. 2023
Kommentiert: Mike Croucher am 12 Okt. 2023
I would like to perform some source control actions via script (programatically). How can I do so?
Example: check git log and update to a certain revision via script.

Antworten (1)

Mike Croucher
Mike Croucher am 4 Okt. 2023
Bearbeitet: Mike Croucher am 4 Okt. 2023
Which version of MATLAB are you using? This functionality got added in R2023b. For example, you mentioned you wanted to check the git log. Here is the doc page for that
  3 Kommentare
Tzvetelin
Tzvetelin am 12 Okt. 2023
Latest version I use is R2022b; is there a plan to introduce complete programatic source control, including push, pull, revert, etc.?
Mike Croucher
Mike Croucher am 12 Okt. 2023
Yes. It's in R2023b as I mentioned above

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Source Control finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by