Saving to GitHub repo from MATLAB command line

7 views (last 30 days)
Em
Em on 8 Oct 2020
Commented: Mario Malic on 8 Oct 2020
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

Answers (1)

Sean Little
Sean Little on 8 Oct 2020
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

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!