ℹ️ Skipped - page is already crawled
| Filter | Status | Condition | Details |
|---|---|---|---|
| HTTP status | PASS | download_http_code = 200 | HTTP 200 |
| Age cutoff | FAIL | download_stamp > now() - 6 MONTH | 6.9 months ago |
| History drop | PASS | isNull(history_drop_reason) | No drop reason |
| Spam/ban | PASS | fh_dont_index != 1 AND ml_spam_score = 0 | ml_spam_score=0 |
| Canonical | PASS | meta_canonical IS NULL OR = '' OR = src_unparsed | Not set |
| Property | Value |
|---|---|
| URL | https://www.mathworks.com/matlabcentral/fileexchange/182000-gitcommit |
| Last Crawled | 2025-09-11 15:22:52 (6 months ago) |
| First Indexed | not set |
| HTTP Status Code | 200 |
| Meta Title | gitcommit - File Exchange - MATLAB Central |
| Meta Description | Download and share free MATLAB code, including functions, models, apps, support packages and toolboxes |
| Meta Canonical | null |
| Boilerpipe Text |
Cite As
Leah O'Shea (2025). gitcommit (https://www.mathworks.com/matlabcentral/fileexchange/182000-gitcommit), MATLAB Central File Exchange.
Retrieved September 11, 2025 .
|
| Markdown | [Skip to content](https://www.mathworks.com/matlabcentral/fileexchange/182000-gitcommit#skip_link_anchor)
[](https://www.mathworks.com/?s_tid=user_nav_logo)
# [File Exchange](https://www.mathworks.com/matlabcentral/fileexchange/)
- [MATLAB Help Center](https://www.mathworks.com/help/?s_tid=user_nav_help)
- [Community](https://www.mathworks.com/matlabcentral/?s_tid=user_nav_community)
- [Learning](https://matlabacademy.mathworks.com/?s_tid=user_nav_learning)
- [Get MATLAB](https://login.mathworks.com/embedded-login/landing.html?cid=getmatlab&s_tid=user_nav_getml)[MATLAB](https://login.mathworks.com/embedded-login/landing.html?cid=getmatlab&s_tid=user_nav_getml)
- [Sign In](https://www.mathworks.com/matlabcentral/fileexchange/182000-gitcommit)
- [My Account]()
- [My Community Profile]()
- [Link License]()
- ***
- [Sign Out]()
- [Contact MathWorks Support](https://www.mathworks.com/support/contact_us.html)
- [Visit mathworks.com](https://www.mathworks.com/)
- [MATLAB Answers](https://www.mathworks.com/matlabcentral/answers/index/?s_tid=gn_mlc_an)
- [File Exchange](https://www.mathworks.com/matlabcentral/fileexchange/?s_tid=gn_mlc_fx_files)
- [Cody](https://www.mathworks.com/matlabcentral/cody/?s_tid=gn_mlc_cody)
- [AI Chat Playground](https://www.mathworks.com/matlabcentral/playground?s_tid=gn_mlc_playground)
- [Discussions](https://www.mathworks.com/matlabcentral/discussions?s_tid=gn_mlc_disc)
- [Contests](https://www.mathworks.com/matlabcentral/contests.html?s_tid=gn_mlc_contests)
- [Blogs](https://blogs.mathworks.com/?s_tid=gn_mlc_blg)
- [More](https://www.mathworks.com/matlabcentral/fileexchange/182000-gitcommit)
- [Communities](https://www.mathworks.com/matlabcentral/content/communities.html?s_tid=gn_mlc_tbc_dl)
- [Treasure Hunt](https://www.mathworks.com/matlabcentral/community/onramps/mlc_treasure_hunt?s_tid=gn_mlc_hunt)
- [People](https://www.mathworks.com/matlabcentral/profile/authors/search?s_tid=gn_mlc_people)
- [Community Advisors](https://www.mathworks.com/matlabcentral/content/community-advisors.html?s_tid=gn_mlc_cab)
- [Virtual Badges](https://www.mathworks.com/matlabcentral/profile/badges/all?s_tid=gn_mlc_bdgs)
- [About](https://www.mathworks.com/matlabcentral/content/about.html?s_tid=gn_mlc_about)
- [Files](https://www.mathworks.com/matlabcentral/fileexchange/?s_tid=gn_mlc_fx_files)
- [Authors](https://www.mathworks.com/matlabcentral/fileexchange/authors?s_tid=gn_mlc_fx_auth)
- [My File Exchange](https://www.mathworks.com/matlabcentral/fileexchange/182000-gitcommit)
- [Followed Content Feed](https://www.mathworks.com/matlabcentral/profile/authors/my_profile?content=all)
- [Manage Following](https://www.mathworks.com/matlabcentral/profile/authors/my_profile/follows)
- [Communication Preferences](https://www.mathworks.com/matlabcentral/profile/authors/my_profile/notification_preferences)
- [My Files](https://www.mathworks.com/matlabcentral/fileexchange/my-file-exchange?s_tid=gn_mlc_fx_myfx)
- [Publish](https://www.mathworks.com/matlabcentral/fileexchange/my-file-exchange?s_tid=gn_mlc_fx_contr)
- [About](https://www.mathworks.com/matlabcentral/content/fx/about.html?s_tid=gn_mlc_fx_help)
**You are now following this Submission**
- You will see updates in your [followed content feed](https://www.mathworks.com/matlabcentral/profile/authors/my_profile?content=all)
- You may receive emails, depending on your [communication preferences](https://www.mathworks.com/matlabcentral/profile/authors/my_profile/notification_preferences)
[](https://www.mathworks.com/matlabcentral/mlc-downloads/downloads/08d139de-e683-4643-bd1d-e7c614389b82/fec68041-3e38-4508-92c8-913e60c45797/images/primaryScreenShot.png)
# gitcommit
[Version 1.0](https://www.mathworks.com/matlabcentral/fileexchange/182000-gitcommit#version_history_tab) (107 KB) by
[Leah O'Shea](https://www.mathworks.com/matlabcentral/profile/authors/27072540)
Commit and push all changes to the desired branch of a GitHub repository with a single command.
[Follow](https://www.mathworks.com/login?uri=https%3A%2F%2Fwww.mathworks.com%2Fmatlabcentral%2Ffileexchange%2F182000-gitcommit&form_type=community)
[0\.0](https://www.mathworks.com/matlabcentral/fileexchange/182000-gitcommit)
[(0)](https://www.mathworks.com/matlabcentral/fileexchange/182000-gitcommit)
2 Downloads
Updated 10 Sep 2025
[View License](https://www.mathworks.com/matlabcentral/fileexchange/182000-gitcommit#license_modal)
×
### License
- [Share]()
- [Open in MATLAB Online](https://matlab.mathworks.com/open/fileexchange/v1?id=182000)
- Download
- [Zip](https://www.mathworks.com/login?uri=https%3A%2F%2Fwww.mathworks.com%2Fmatlabcentral%2Ffileexchange%2F182000-gitcommit&form_type=community "Download Zip")
- [Toolbox](https://www.mathworks.com/login?uri=https%3A%2F%2Fwww.mathworks.com%2Fmatlabcentral%2Ffileexchange%2F182000-gitcommit&form_type=community "Download Toolbox")
×
#### Share 'gitcommit'
Open in File Exchange
Open in MATLAB Online
Close
- [Overview](https://www.mathworks.com/matlabcentral/fileexchange/182000-gitcommit#overview_tab)
- [Functions](https://www.mathworks.com/matlabcentral/fileexchange/182000-gitcommit#functions_tab)
- [Version History](https://www.mathworks.com/matlabcentral/fileexchange/182000-gitcommit#version_history_tab)
- [Reviews (0)](https://www.mathworks.com/matlabcentral/fileexchange/182000-gitcommit#reviews_tab)
- [Discussions (0)](https://www.mathworks.com/matlabcentral/fileexchange/182000-gitcommit#discussions_tab)
GitCommit - Commit and push all changes to the desired branch of a
GitHub repository with a single command.
Usage:
gitcommit('Your commit message')
This function:
1\. Self-updates from GitHub (if cloned from the official repo).
2\. Checks if Git is installed and configured.
3\. Pulls recent changes, stages all files, commits, and pushes.
4\. Lets you choose which branch to push to, or create a new one.
Requirements:
\- Git must be installed and available in your system PATH.
\- The current folder must be a valid Git repository.
\- You must have configured your Git user.email and remote origin.
### Cite As
Leah O'Shea (2025). gitcommit (https://www.mathworks.com/matlabcentral/fileexchange/182000-gitcommit), MATLAB Central File Exchange. Retrieved September 11, 2025.
##### MATLAB Release Compatibility
Created with R2025a
Compatible with any release
##### Platform Compatibility
Windows macOS Linux
##### Tags [Add Tags](https://www.mathworks.com/login?uri=https%3A%2F%2Fwww.mathworks.com%2Fmatlabcentral%2Ffileexchange%2F182000-gitcommit&form_type=community)
### Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you\!
[Start Hunting\!](https://www.mathworks.com/matlabcentral/community/onramps/mlc_treasure_hunt?s_tid=hunt_spotlight)
### Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
***
[Learn About Live Editor](https://www.mathworks.com/products/matlab/live-editor.html?s_tid=fx_mlle)
####
- [gitcommit](https://viewer.mathworks.com/?viewer=plain_code&url=https%3A%2F%2Fwww.mathworks.com%2Fmatlabcentral%2Fmlc-downloads%2Fdownloads%2F08d139de-e683-4643-bd1d-e7c614389b82%2F1757539852%2Ffiles%2Fgitcommit.m&embed=web "gitcommit")
| Version | Published | Release Notes | |
|---|---|---|---|
| 1\.0 | 10 Sep 2025 | | Download [Zip](https://www.mathworks.com/login?uri=https%3A%2F%2Fwww.mathworks.com%2Fmatlabcentral%2Ffileexchange%2F182000-gitcommit&form_type=community "Download Zip") [Toolbox](https://www.mathworks.com/login?uri=https%3A%2F%2Fwww.mathworks.com%2Fmatlabcentral%2Ffileexchange%2F182000-gitcommit&form_type=community "Download Toolbox") |
×

Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
- [(English)](https://ch.mathworks.com/)
- [(Deutsch)](https://ch.mathworks.com/)
- [(Français)](https://ch.mathworks.com/)
- [(简体中文)](https://ww2.mathworks.cn/)
- [(English)](https://ww2.mathworks.cn/)
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- [América Latina](https://la.mathworks.com/) (Español)
- [Canada](https://www.mathworks.com/) (English)
- [United States](https://www.mathworks.com/) (English)
Europe
- [Belgium](https://nl.mathworks.com/) (English)
- [Denmark](https://se.mathworks.com/) (English)
- [Deutschland](https://de.mathworks.com/) (Deutsch)
- [España](https://es.mathworks.com/) (Español)
- [Finland](https://se.mathworks.com/) (English)
- [France](https://fr.mathworks.com/) (Français)
- [Ireland](https://uk.mathworks.com/) (English)
- [Italia](https://it.mathworks.com/) (Italiano)
- [Luxembourg](https://nl.mathworks.com/) (English)
- [Netherlands](https://nl.mathworks.com/) (English)
- [Norway](https://se.mathworks.com/) (English)
- [Österreich](https://de.mathworks.com/) (Deutsch)
- [Portugal](https://www.mathworks.com/) (English)
- [Sweden](https://se.mathworks.com/) (English)
- Switzerland
- [Deutsch](https://ch.mathworks.com/)
- [English](https://ch.mathworks.com/)
- [Français](https://ch.mathworks.com/)
- [United Kingdom](https://uk.mathworks.com/)(English)
Asia Pacific
- [Australia](https://au.mathworks.com/) (English)
- [India](https://in.mathworks.com/) (English)
- [New Zealand](https://au.mathworks.com/) (English)
- 中国
- [简体中文Chinese](https://ww2.mathworks.cn/)
- [English](https://ww2.mathworks.cn/)
- [日本Japanese](https://jp.mathworks.com/) (日本語)
- [한국Korean](https://kr.mathworks.com/) (한국어)
[Contact your local office](https://www.mathworks.com/matlabcentral/fileexchange/182000-gitcommit)
- [Trust Center](https://www.mathworks.com/company/aboutus/policies_statements/trust-center.html?s_tid=gf_tc)
- [Trademarks](https://www.mathworks.com/company/aboutus/policies_statements/trademarks.html?s_tid=gf_trd)
- [Privacy Policy](https://www.mathworks.com/company/aboutus/policies_statements.html?s_tid=gf_priv)
- [Preventing Piracy](https://www.mathworks.com/company/aboutus/policies_statements/piracy.html?s_tid=gf_pir)
- [Application Status](https://status.mathworks.com/?s_tid=gf_application)
- [Terms of Use](https://www.mathworks.com/matlabcentral/content/terms-of-use.html?s_tid=gf_terms)
- [Contact Us](https://www.mathworks.com/company/aboutus/contact_us.html?s_tid=gf_contact)
© 1994-2025 The MathWorks, Inc.
Select a Web SiteUnited States |
| Readable Markdown | null |
| Shard | 161 (laksa) |
| Root Hash | 11303084394109755361 |
| Unparsed URL | com,mathworks!www,/matlabcentral/fileexchange/182000-gitcommit s443 |