How can I use source control programmatically?

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.

回答 (1 件)

Mike Croucher
Mike Croucher 2023 年 10 月 4 日
編集済み: Mike Croucher 2023 年 10 月 4 日

0 投票

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 件のコメント

Steven Lord
Steven Lord 2023 年 10 月 4 日
By "This functionality" Mike Croucher is referring to the functions and object listed on this documentation page.
Tzvetelin
Tzvetelin 2023 年 10 月 12 日
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 2023 年 10 月 12 日
Yes. It's in R2023b as I mentioned above

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeSource Control についてさらに検索

質問済み:

2023 年 10 月 4 日

コメント済み:

2023 年 10 月 12 日

Community Treasure Hunt

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

Start Hunting!

Translated by