Saving to GitHub repo from MATLAB command line

7 次查看(过去 30 天)
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
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

类别

Help CenterFile Exchange 中查找有关 Source Control 的更多信息

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by