Saving to GitHub repo from MATLAB command line

Hi,
I'm new to github and I want to use it to save my matlab code from the commandline on my mac. I'm sure there must be some step-by-step instructions somewhere on the forums here but I can't find them and I'm struggling to recognise the starting point to begin with this - could anyone explain the steps I need to take or link me to the right page to get started? Cheers

回答 (1 件)

Sean Little
Sean Little 2020 年 10 月 8 日

0 投票

Is GIT installed on your mac? If so, you should be able to use the "!" operator to run shell commands from the matlab prompt. Example:
>> !git status

カテゴリ

ヘルプ センター および File ExchangeIntroduction to Installation and Licensing についてさらに検索

製品

リリース

R2019b

質問済み:

Em
2020 年 10 月 8 日

コメント済み:

2020 年 10 月 8 日

Community Treasure Hunt

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

Start Hunting!

Translated by