GitHub Desktop streamlines local Git operations on your machine, while GitHub.com is the collaboration hub where teams coordinate, review, and automate workflows.
- Local vs. remote: Desktop manages a local working copy; GitHub.com manages the remote repository and team collaboration.
- Workflow focus: Desktop optimizes cloning, branching, staging, and committing. GitHub.com provides pull requests, code review, CI/CD, and repository administration.
- Audience: Desktop helps individual developers and contributors perform local Git tasks more easily. GitHub.com supports teams, project managers, and automation systems.
How they work together
- Use GitHub Desktop for branch creation, selective staging, and crafting clean commits locally.
- Push branches to GitHub.com to create pull requests, run CI checks, request reviews, and manage releases.
- The two are complementary: Desktop speeds local development tasks; GitHub.com enables collaboration, governance, and automation.
- Script naming: The branch-creation helper is standardized as
scripts/create-release-branch.sh. - Maven properties: The snippet uses
parsedVersion.incrementalVersion(lowercase), which is the standard property produced bybuild-helper:parse-version. - Maven command sequence:
build-helper:parse-versiondefinesparsedVersion.*properties.versions:setaccepts the-DnewVersionparameter and applies the version change.versions:commitcan be invoked afterversions:setwithin the same execution to clean up any backup POMs. Note thatversions:commititself does not take-DnewVersion; that parameter belongs toversions:set. - Safe commit: The
git commitcommand includes|| trueto prevent the pipeline from failing if there are no changes to commit.
- Branch creation: Desktop makes it easy to create and switch to the release branch before running the pipeline.
- Selective staging & commits: Desktop’s GUI supports staging specific lines or files for precise commits (useful for committing version bumps only).
- Co-authoring and metadata: Desktop can add co-authors to commits locally; GitHub.com will display those attributions in the PR.
- GitHub Desktop: https://desktop.github.com/
- GitHub Docs (GitHub.com): https://docs.github.com/
- Jenkins Pipelines: https://www.jenkins.io/doc/book/pipeline/
- Maven Versions Plugin: https://www.mojohaus.org/versions-maven-plugin/
- build-helper Maven Plugin: https://www.mojohaus.org/build-helper-maven-plugin/
- For more on integrating local workflows with remote automation, see the GitHub Actions and CI/CD documentation on the GitHub Docs site.
- For examples of release automation patterns, consult the Jenkins Pipeline examples and Maven plugin documentation linked above.