Main Content

Integrazione del controllo della sorgente

Utilizzare il controllo della sorgente in MATLAB®

È possibile utilizzare MATLAB per lavorare con i file sotto controllo della sorgente. È possibile eseguire azioni come l'aggiornamento e l’assegnazione del codice, l'unione delle modifiche e la visualizzazione della cronologia delle revisioni direttamente dal browser della cartella corrente.

Il controllo della sorgente può essere utilizzato anche con i progetti. Per maggiori informazioni, vedere Use Source Control with Projects e Clone Remote Git Repository into New Project.

Funzioni

espandi tutto

gitcloneClone Git repository (Da R2023b)
gitrepoCreate Git repository object (Da R2023b)
gitinitInitialize empty Git repository (Da R2023b)
gitrepoCreate Git repository object (Da R2023b)
addMark new file for addition to Git repository (Da R2023b)
rmMark file for deletion from Git repository (Da R2023b)
status Display status of files in working folder and staging area in Git repository (Da R2023b)
logDisplay record of commits in Git repository (Da R2023b)
gitrepoCreate Git repository object (Da R2023b)
createBranchCreate new Git branch (Da R2023b)
switchBranchSwitch Git branch (Da R2023b)
deleteBranchDelete local Git branch (Da R2023b)
mergeMerge Git branch, revision, or tag into current branch (Da R2023b)
gitrepoCreate Git repository object (Da R2023b)
fetchDownload new data from remote Git repository (Da R2023b)
mergeMerge Git branch, revision, or tag into current branch (Da R2023b)
pullDownload and merge new data from remote Git repository into local repository (Da R2023b)
gitrepoCreate Git repository object (Da R2023b)
discardChangesDiscard changes in Git repository (Da R2024a)
gitrepoCreate Git repository object (Da R2023b)
commitCommit changes to Git repository (Da R2023b)
pushPublish local changes to remote Git repository (Da R2023b)

Oggetti

espandi tutto

matlab.git.GitRepositoryGit repository object (Da R2023b)

Argomenti