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

Réponses (1)

Sean Little
Sean Little le 8 Oct 2020

0 votes

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

Catégories

Produits

Version

R2019b

Question posée :

Em
le 8 Oct 2020

Commenté :

le 8 Oct 2020

Community Treasure Hunt

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

Start Hunting!

Translated by