Main Content

이 번역 페이지는 최신 내용을 담고 있지 않습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.

프로젝트의 소스 컨트롤

소스 컨트롤 구성, 파일 가져오기, 변경 사항 검토, 수정된 파일 커밋

프로젝트는 필요한 파일을 찾고, 파일과 설정을 관리 및 공유하고, 소스 컨트롤과 상호 작용하여 대규모 모델링 프로젝트를 구성하는 데 도움이 됩니다. Using Projects to Collaborate, Track, and Merge Changes and Perform Code Reviews(4분 50초), What Are Projects?, About Source Control with Projects 항목을 참조하십시오.

함수

모두 확장

리포지토리 만들기

gitcloneClone Git repository (R2023b 이후)
gitrepoCreate Git repository object (R2023b 이후)
gitinitInitialize empty Git repository (R2023b 이후)

파일 추적

gitrepoCreate Git repository object (R2023b 이후)
addMark new file for addition to Git repository (R2023b 이후)
rmMark file for deletion from Git repository (R2023b 이후)
status Display status of files in working folder and staging area in Git repository (R2023b 이후)
logDisplay record of commits in Git repository (R2023b 이후)

분기 관리

gitrepoCreate Git repository object (R2023b 이후)
createBranchCreate new Git branch (R2023b 이후)
switchBranchSwitch Git branch (R2023b 이후)
deleteBranchDelete local Git branch (R2023b 이후)
mergeMerge Git branch, revision, or tag into current branch (R2023b 이후)

리포지토리 업데이트

gitrepoCreate Git repository object (R2023b 이후)
fetchDownload new data from remote Git repository (R2023b 이후)
mergeMerge Git branch, revision, or tag into current branch (R2023b 이후)
pullDownload and merge new data from remote Git repository into local repository (R2023b 이후)

변경 내용 퍼블리시

gitrepoCreate Git repository object (R2023b 이후)
commitCommit changes to Git repository (R2023b 이후)
pushPublish local changes to remote Git repository (R2023b 이후)
currentProject현재 프로젝트 가져오기
listModifiedFilesList modified files in project
refreshSourceControlUpdate source control status of project files

레거시 API

simulinkproject(Not recommended) Open project and get project object

도움말 항목

소스 컨트롤 설정

가져오기 및 체크아웃

변경 사항 검토하기 및 수정된 파일 커밋하기