ℹ️ Skipped - page is already crawled
| Filter | Status | Condition | Details |
|---|---|---|---|
| HTTP status | PASS | download_http_code = 200 | HTTP 200 |
| Age cutoff | PASS | download_stamp > now() - 6 MONTH | 0.4 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.atlassian.com/git/tutorials/cherry-pick |
| Last Crawled | 2026-04-01 05:05:27 (11 days ago) |
| First Indexed | 2019-03-23 02:57:41 (7 years ago) |
| HTTP Status Code | 200 |
| Meta Title | Git Cherry Pick | Atlassian Git Tutorial |
| Meta Description | Git cherry-pick is a useful tool when merging several branches together but not always a best practice. Learn when, how and where to use it! |
| Meta Canonical | null |
| Boilerpipe Text | git cherry-pick
is a powerful command that enables arbitrary Git commits to be picked by reference and appended to the current working HEAD. Cherry picking is the act of picking a commit from a branch and applying it to another.
git cherry-pick
can be useful for undoing changes. For example, say a commit is accidently made to the wrong branch. You can switch to the correct branch and cherry-pick the commit to where it should belong.
When to use git cherry pick
git cherry-pick
 is a useful tool but not always a best practice. Cherry picking can cause duplicate commits and many scenarios where cherry picking would work, traditional merges are preferred instead. With that said
git cherry-pick
is a handy tool for a few scenarios...
Team collaboration
Often times a team will find individual members working in or around the same code. Maybe a new product feature has a backend and frontend component. There may be some shared code between to two product sectors. Maybe the backend developer creates a data structure that the frontend will also need to utilize. The frontend developer could use
git cherry-pick
to pick the commit in which this hypothetical data structure was created. This pick would enable the frontend developer to continue progress on their side of the project.
Bug hotfixes
When a bug is discovered it is important to deliver a fix to end users as quickly as possible. For an example scenario,say a developer has started work on a new feature. During that new feature development they identify a pre-existing bug. The developer creates an explicit commit patching this bug. This new patch commit can be cherry-picked directly to the
main
 branch to fix the bug before it effects more users.
Undoing changes and restoring lost commits
Sometimes a
feature
branch may go stale and not get merged into
main
. Sometimes a pull request might get closed without merging. Git never loses those commits and through commands like
git log
and
git reflog
they can be found and cherry picked back to life.
How to use git cherry pick
To demonstrate how to use
git cherry-pick
let us assume we have a repository with the following branch state:
a - b - c - d Main
\
e - f - g Feature
git cherry-pick
usage is straight forward and can be executed like:
git cherry-pick commitSha
In this example
commit
Sha is a commit reference. You can find a commit reference by using
git log
. In this example we have constructed lets say we wanted to use commit `f` in
main
. First we ensure that we are working on the
main
 branch.
git checkout main
Then we execute the cherry-pick with the following command:
git cherry-pick f
Once executed our Git history will look like:
a - b - c - d - f Main
\
e - f - g Feature
The f commit has been successfully picked into the main branch
Examples of git cherry pick
Â
git cherry pick
can also be passed some execution options.
-edit
Passing the
-edit
option will cause git to prompt for a commit message before applying the cherry-pick operation
--no-commit
The
--no-commit
option will execute the cherry pick but instead of making a new commit it will move the contents of the target commit into the working directory of the current branch.
--signoff
The
--signoff
option will add a 'signoff' signature line to the end of the cherry-pick commit message
In addition to these helpful options
git cherry-pick
also accepts a variety of merge strategy options. Learn more about these options at the
git merge strategies
 documentation.
Additionally, git cherry-pick also accepts option input for merge conflict resolution, this includes options:
--abort --continue
and
--quit
this options are covered more in depth with regards to
git merge
 and
git rebase
.
Summary
Cherry picking is a powerful and convenient command that is incredibly useful in a few scenarios. Cherry picking should not be misused in place of
git merge
 or
git rebase
. The
git log
 command is required to help find commits to cherry pick. |
| Markdown | [Skip to content](https://www.atlassian.com/git/tutorials/cherry-pick#content)
- [Products](https://www.atlassian.com/git/tutorials/cherry-pick)
Featured
Developers
Product Managers
IT professionals
Business Teams
Leadership Teams
[See all apps](https://www.atlassian.com/software)
- ## Featured apps
- [**Jira** Flexible project management](https://www.atlassian.com/software/jira)
- [**Confluence** Knowledge, all in one place](https://www.atlassian.com/software/confluence)
- [**Jira Service Management** Deliver service at high velocity](https://www.atlassian.com/software/jira/service-management)
## Atlassian Collections
- [Supercharge teamwork seamlessly JiraConfluenceLoom](https://www.atlassian.com/collections/teamwork)
- [Optimize strategy and outcomes confidently FocusTalentAlign](https://www.atlassian.com/collections/strategy)
- [Deliver service at high-velocity Jira Service ManagementCustomer Service ManagementAssets](https://www.atlassian.com/collections/service)
- [Ship high-quality software fast Rovo DevDXPipelinesBitbucketCompass](https://www.atlassian.com/collections/software)
Powered by
[Rovo AI-powered apps – driven by your team's knowledge.](https://www.atlassian.com/software/rovo)
- [**Jira** Flexible project management](https://www.atlassian.com/software/jira)
- [**Bitbucket** Source code and CI/CD](https://www.atlassian.com/software/bitbucket)
- [**Rovo Dev** Agentic AI for developers](https://www.atlassian.com/software/rovo-dev)
- [**Pipelines** Scalable CI/CD automation](https://www.atlassian.com/software/bitbucket/features/pipelines)
- [**DX** Measure productivity and AI impact](https://www.atlassian.com/collections/software)
- [**Compass** Software catalog for teams](https://www.atlassian.com/software/compass)
- [Ship high-quality software fast Rovo DevDXPipelinesBitbucketCompass](https://www.atlassian.com/collections/software)
[Rovo AI-powered apps – driven by your team's knowledge.](https://www.atlassian.com/software/rovo)
- [**Jira Product Discovery** Capture & prioritize ideas](https://www.atlassian.com/software/jira/product-discovery)
- [**Jira** Flexible project management](https://www.atlassian.com/software/jira)
- [**Confluence** Knowledge, all in one place](https://www.atlassian.com/software/confluence)
- [Supercharge teamwork seamlessly JiraConfluenceLoom](https://www.atlassian.com/collections/teamwork)
[Rovo AI-powered apps – driven by your team's knowledge.](https://www.atlassian.com/software/rovo)
- [**Jira Service Management** Deliver service at high velocity](https://www.atlassian.com/software/jira/service-management)
- [**Guard** Enhanced cloud security](https://www.atlassian.com/software/guard)
[Rovo AI-powered apps – driven by your team's knowledge.](https://www.atlassian.com/software/rovo)
- [**Jira** Flexible project management](https://www.atlassian.com/software/jira)
- [**Confluence** Knowledge, all in one place](https://www.atlassian.com/software/confluence)
- [**Trello** Capture and organize your tasks](https://trello.com/home)
- [**Loom** Quick, async video updates](https://www.atlassian.com/software/loom)
- [**Jira Service Management** Deliver service at high velocity](https://www.atlassian.com/software/jira/service-management)
- [**Customer Service Management** Customer experiences reimagined](https://www.atlassian.com/software/customer-service-management)
- [Supercharge teamwork seamlessly JiraConfluenceLoom](https://www.atlassian.com/collections/teamwork)
[Rovo AI-powered apps – driven by your team's knowledge.](https://www.atlassian.com/software/rovo)
- [**Focus** Enterprise-scale strategic planning](https://www.atlassian.com/software/focus)
- [**Talent** Knowledge workforce planning](https://www.atlassian.com/software/talent)
- [**Align** Enterprise-wide work planning & value](https://www.atlassian.com/software/jira/align)
- [Optimize strategy and outcomes confidently FocusTalentAlign](https://www.atlassian.com/collections/strategy)
[Rovo AI-powered apps – driven by your team's knowledge.](https://www.atlassian.com/software/rovo)
- [Solutions](https://www.atlassian.com/git/tutorials/cherry-pick)
Solutions
## By Use Case
- [Team collaboration](https://www.atlassian.com/collections/teamwork)
- [Strategy and planning](https://www.atlassian.com/collections/strategy)
- [Service management](https://www.atlassian.com/collections/service)
- [Software development](https://www.atlassian.com/collections/software)
## By Team
- [Software](https://www.atlassian.com/collections/software)
- [Marketing](https://www.atlassian.com/teams/marketing)
- [IT](https://www.atlassian.com/teams/it)
- [Product](https://www.atlassian.com/software/jira/product-discovery%20)
## By Size
- [Enterprise](https://www.atlassian.com/enterprise)
- [Small Business](https://www.atlassian.com/software/small-business)
- [Startup](https://www.atlassian.com/software/startups)
- [Non-profit](https://www.atlassian.com/teams/nonprofits)
## By Industry
- [Retail](https://www.atlassian.com/industries/retail)
- [Telecommunications](https://www.atlassian.com/industries/telecom)
- [Professional Services](https://www.atlassian.com/industries/professional-services)
- [Government](https://www.atlassian.com/government)
[Rovo AI-powered apps – driven by your team's knowledge.](https://www.atlassian.com/software/rovo)
- [Why Atlassian?](https://www.atlassian.com/git/tutorials/cherry-pick)
- [System of Work NewAtlassian's blueprint for how teams work together](https://www.atlassian.com/system-of-work)
- [MarketplaceConnect thousands of apps to your Atlassian products](https://marketplace.atlassian.com/)
- [CustomersCase studies & stories powered by teamwork](https://www.atlassian.com/customers)
- [FedRAMPCompliant solutions for the public sector](https://www.atlassian.com/trust/compliance/resources/fedramp)
- [ResilienceEnterprise-grade & highly performant infrastructure](https://www.atlassian.com/trust/resilience)
- [PlatformOur deeply integrated, reliable & secure platform](https://www.atlassian.com/platform)
- [Trust centerEnsure your data's security, compliance & availability](https://www.atlassian.com/trust)
- [Resources](https://www.atlassian.com/git/tutorials/cherry-pick)
- [Customer SupportAsk questions, report bugs & give us feedback](https://support.atlassian.com/)
- [Find PartnersConsulting, training & product customization support](https://partnerdirectory.atlassian.com/)
- [Atlassian AscendResources and support for your transformation](https://www.atlassian.com/migration)
- [CommunityLearn, connect and grow with the Atlassian Community](https://community.atlassian.com/)
## Support
## Resources
- [Enterprise](https://www.atlassian.com/enterprise)
- More +
Get it free
Sign in
Sign in
- Products
- Featured
- Developers
- Product Managers
- IT professionals
- Business Teams
- Leadership Teams
- Solutions
- Why Atlassian?
- Resources
- [Enterprise](https://www.atlassian.com/enterprise)
[Sign in](https://id.atlassian.com/login?continue=https%3A%2F%2Fwww.atlassian.com%2Fgateway%2Fapi%2Fstart%2Fauthredirect)
- ## Featured apps
- [Jira Flexible project management](https://www.atlassian.com/software/jira)
- [Confluence Knowledge, all in one place](https://www.atlassian.com/software/confluence)
- [Jira Service Management Deliver service at high velocity](https://www.atlassian.com/software/jira/service-management)
## Atlassian Collections
- [Supercharge teamwork seamlessly JiraConfluenceLoom](https://www.atlassian.com/collections/teamwork)
- [Optimize strategy and outcomes confidently FocusTalentAlign](https://www.atlassian.com/collections/strategy)
- [Deliver service at high-velocity Jira Service ManagementCustomer Service ManagementAssets](https://www.atlassian.com/collections/service)
- [Ship high-quality software fast Rovo DevDXPipelinesBitbucketCompass](https://www.atlassian.com/collections/software)
Powered by
[Rovo AI-powered apps – driven by your team's knowledge.](https://www.atlassian.com/software/rovo)
Developers
- [**Jira** Flexible project management](https://www.atlassian.com/software/jira)
- [**Bitbucket** Source code and CI/CD](https://www.atlassian.com/software/bitbucket)
- [**Rovo Dev** Agentic AI for developers](https://www.atlassian.com/software/rovo-dev)
- [**Pipelines** Scalable CI/CD automation](https://www.atlassian.com/software/bitbucket/features/pipelines)
- [**DX** Measure productivity and AI impact](https://www.atlassian.com/collections/software)
- [**Compass** Software catalog for teams](https://www.atlassian.com/software/compass)
- [Ship high-quality software fast Rovo DevDXPipelinesBitbucketCompass](https://www.atlassian.com/collections/software)
[Rovo AI-powered apps – driven by your team's knowledge.](https://www.atlassian.com/software/rovo)
Product Managers
- [**Jira Product Discovery** Capture & prioritize ideas](https://www.atlassian.com/software/jira/product-discovery)
- [**Jira** Flexible project management](https://www.atlassian.com/software/jira)
- [**Confluence** Knowledge, all in one place](https://www.atlassian.com/software/confluence)
- [Supercharge teamwork seamlessly JiraConfluenceLoom](https://www.atlassian.com/collections/teamwork)
[Rovo AI-powered apps – driven by your team's knowledge.](https://www.atlassian.com/software/rovo)
IT professionals
- [**Jira Service Management** Deliver service at high velocity](https://www.atlassian.com/software/jira/service-management)
- [**Guard** Enhanced cloud security](https://www.atlassian.com/software/guard)
[Rovo AI-powered apps – driven by your team's knowledge.](https://www.atlassian.com/software/rovo)
Business Teams
- [**Jira** Flexible project management](https://www.atlassian.com/software/jira)
- [**Confluence** Knowledge, all in one place](https://www.atlassian.com/software/confluence)
- [**Trello** Capture and organize your tasks](https://trello.com/home)
- [**Loom** Quick, async video updates](https://www.atlassian.com/software/loom)
- [**Jira Service Management** Deliver service at high velocity](https://www.atlassian.com/software/jira/service-management)
- [**Customer Service Management** Customer experiences reimagined](https://www.atlassian.com/software/customer-service-management)
- [Supercharge teamwork seamlessly JiraConfluenceLoom](https://www.atlassian.com/collections/teamwork)
[Rovo AI-powered apps – driven by your team's knowledge.](https://www.atlassian.com/software/rovo)
Leadership Teams
- [**Focus** Enterprise-scale strategic planning](https://www.atlassian.com/software/focus)
- [**Talent** Knowledge workforce planning](https://www.atlassian.com/software/talent)
- [**Align** Enterprise-wide work planning & value](https://www.atlassian.com/software/jira/align)
- [Optimize strategy and outcomes confidently FocusTalentAlign](https://www.atlassian.com/collections/strategy)
[Rovo AI-powered apps – driven by your team's knowledge.](https://www.atlassian.com/software/rovo)
Solutions
## By Use Case
- [Team collaboration](https://www.atlassian.com/collections/teamwork)
- [Strategy and planning](https://www.atlassian.com/collections/strategy)
- [Service management](https://www.atlassian.com/collections/service)
- [Software development](https://www.atlassian.com/collections/software)
## By Team
- [Software](https://www.atlassian.com/collections/software)
- [Marketing](https://www.atlassian.com/teams/marketing)
- [IT](https://www.atlassian.com/teams/it)
- [Product](https://www.atlassian.com/software/jira/product-discovery%20)
## By Size
- [Enterprise](https://www.atlassian.com/enterprise)
- [Small Business](https://www.atlassian.com/software/small-business)
- [Startup](https://www.atlassian.com/software/startups)
- [Non-profit](https://www.atlassian.com/teams/nonprofits)
## By Industry
- [Retail](https://www.atlassian.com/industries/retail)
- [Telecommunications](https://www.atlassian.com/industries/telecom)
- [Professional Services](https://www.atlassian.com/industries/professional-services)
- [Government](https://www.atlassian.com/government)
[Rovo AI-powered apps – driven by your team's knowledge.](https://www.atlassian.com/software/rovo)
Why Atlassian
[System of Work NewAtlassian's blueprint for how teams work together](https://www.atlassian.com/system-of-work)
[MarketplaceConnect thousands of apps to your Atlassian products](https://marketplace.atlassian.com/)
[CustomersCase studies & stories powered by teamwork](https://www.atlassian.com/customers)
[FedRAMPCompliant solutions for the public sector](https://www.atlassian.com/trust/compliance/resources/fedramp)
[ResilienceEnterprise-grade & highly performant infrastructure](https://www.atlassian.com/trust/resilience)
[PlatformOur deeply integrated, reliable & secure platform](https://www.atlassian.com/platform)
[Trust centerEnsure your data's security, compliance & availability](https://www.atlassian.com/trust)
Resources
[Customer SupportAsk questions, report bugs & give us feedback](https://support.atlassian.com/)
[Find PartnersConsulting, training & product customization support](https://partnerdirectory.atlassian.com/)
[Atlassian AscendResources and support for your transformation](https://www.atlassian.com/migration)
[CommunityLearn, connect and grow with the Atlassian Community](https://community.atlassian.com/)
Support
- [General Inquiries](https://www.atlassian.com/company/contact/general-inquiries)
- [Technical Support](https://support.atlassian.com/contact/)
- [Product Advice](https://www.atlassian.com/company/contact/product-evaluator-advice)
- [Pricing and Billing](https://www.atlassian.com/company/contact/purchasing-licensing)
- [Partner Support](https://www.atlassian.com/partners)
- [Developer Support](https://developer.atlassian.com/)
- [Enterprise Support](https://www.atlassian.com/enterprise/services)
- [Purchasing and Licensing](https://www.atlassian.com/licensing/purchase-licensing)
Resources
- [Project Management](https://www.atlassian.com/project-management)
- [Project Collaboration](https://www.atlassian.com/work-management/project-collaboration)
- [Agile](https://www.atlassian.com/agile)
- [Team Playbook](https://www.atlassian.com/team-playbook)
- [Atlassian Learning](https://community.atlassian.com/learning)
- [Product Documentation](https://confluence.atlassian.com/display/ALLDOC/Atlassian+Documentation)
- [Get Started](https://www.atlassian.com/get-started)
[Skip to content](https://www.atlassian.com/git/tutorials/cherry-pick#content)
- Products
- Featured
- Developers
- Product Managers
- IT professionals
- Business Teams
- Leadership Teams
- Solutions
- Why Atlassian?
- Resources
- [Enterprise](https://www.atlassian.com/enterprise)
[Sign in](https://id.atlassian.com/login?continue=https%3A%2F%2Fwww.atlassian.com%2Fgateway%2Fapi%2Fstart%2Fauthredirect)
- ## Featured apps
- [Jira Flexible project management](https://www.atlassian.com/software/jira)
- [Confluence Knowledge, all in one place](https://www.atlassian.com/software/confluence)
- [Jira Service Management Deliver service at high velocity](https://www.atlassian.com/software/jira/service-management)
## Atlassian Collections
- [Supercharge teamwork seamlessly JiraConfluenceLoom](https://www.atlassian.com/collections/teamwork)
- [Optimize strategy and outcomes confidently FocusTalentAlign](https://www.atlassian.com/collections/strategy)
- [Deliver service at high-velocity Jira Service ManagementCustomer Service ManagementAssets](https://www.atlassian.com/collections/service)
- [Ship high-quality software fast Rovo DevDXPipelinesBitbucketCompass](https://www.atlassian.com/collections/software)
Powered by
[Rovo AI-powered apps – driven by your team's knowledge.](https://www.atlassian.com/software/rovo)
Developers
- [**Jira** Flexible project management](https://www.atlassian.com/software/jira)
- [**Bitbucket** Source code and CI/CD](https://www.atlassian.com/software/bitbucket)
- [**Rovo Dev** Agentic AI for developers](https://www.atlassian.com/software/rovo-dev)
- [**Pipelines** Scalable CI/CD automation](https://www.atlassian.com/software/bitbucket/features/pipelines)
- [**DX** Measure productivity and AI impact](https://www.atlassian.com/collections/software)
- [**Compass** Software catalog for teams](https://www.atlassian.com/software/compass)
- [Ship high-quality software fast Rovo DevDXPipelinesBitbucketCompass](https://www.atlassian.com/collections/software)
[Rovo AI-powered apps – driven by your team's knowledge.](https://www.atlassian.com/software/rovo)
Product Managers
- [**Jira Product Discovery** Capture & prioritize ideas](https://www.atlassian.com/software/jira/product-discovery)
- [**Jira** Flexible project management](https://www.atlassian.com/software/jira)
- [**Confluence** Knowledge, all in one place](https://www.atlassian.com/software/confluence)
- [Supercharge teamwork seamlessly JiraConfluenceLoom](https://www.atlassian.com/collections/teamwork)
[Rovo AI-powered apps – driven by your team's knowledge.](https://www.atlassian.com/software/rovo)
IT professionals
- [**Jira Service Management** Deliver service at high velocity](https://www.atlassian.com/software/jira/service-management)
- [**Guard** Enhanced cloud security](https://www.atlassian.com/software/guard)
[Rovo AI-powered apps – driven by your team's knowledge.](https://www.atlassian.com/software/rovo)
Business Teams
- [**Jira** Flexible project management](https://www.atlassian.com/software/jira)
- [**Confluence** Knowledge, all in one place](https://www.atlassian.com/software/confluence)
- [**Trello** Capture and organize your tasks](https://trello.com/home)
- [**Loom** Quick, async video updates](https://www.atlassian.com/software/loom)
- [**Jira Service Management** Deliver service at high velocity](https://www.atlassian.com/software/jira/service-management)
- [**Customer Service Management** Customer experiences reimagined](https://www.atlassian.com/software/customer-service-management)
- [Supercharge teamwork seamlessly JiraConfluenceLoom](https://www.atlassian.com/collections/teamwork)
[Rovo AI-powered apps – driven by your team's knowledge.](https://www.atlassian.com/software/rovo)
Leadership Teams
- [**Focus** Enterprise-scale strategic planning](https://www.atlassian.com/software/focus)
- [**Talent** Knowledge workforce planning](https://www.atlassian.com/software/talent)
- [**Align** Enterprise-wide work planning & value](https://www.atlassian.com/software/jira/align)
- [Optimize strategy and outcomes confidently FocusTalentAlign](https://www.atlassian.com/collections/strategy)
[Rovo AI-powered apps – driven by your team's knowledge.](https://www.atlassian.com/software/rovo)
Solutions
## By Use Case
- [Team collaboration](https://www.atlassian.com/collections/teamwork)
- [Strategy and planning](https://www.atlassian.com/collections/strategy)
- [Service management](https://www.atlassian.com/collections/service)
- [Software development](https://www.atlassian.com/collections/software)
## By Team
- [Software](https://www.atlassian.com/collections/software)
- [Marketing](https://www.atlassian.com/teams/marketing)
- [IT](https://www.atlassian.com/teams/it)
- [Product](https://www.atlassian.com/software/jira/product-discovery%20)
## By Size
- [Enterprise](https://www.atlassian.com/enterprise)
- [Small Business](https://www.atlassian.com/software/small-business)
- [Startup](https://www.atlassian.com/software/startups)
- [Non-profit](https://www.atlassian.com/teams/nonprofits)
## By Industry
- [Retail](https://www.atlassian.com/industries/retail)
- [Telecommunications](https://www.atlassian.com/industries/telecom)
- [Professional Services](https://www.atlassian.com/industries/professional-services)
- [Government](https://www.atlassian.com/government)
[Rovo AI-powered apps – driven by your team's knowledge.](https://www.atlassian.com/software/rovo)
Why Atlassian
[System of Work NewAtlassian's blueprint for how teams work together](https://www.atlassian.com/system-of-work)
[MarketplaceConnect thousands of apps to your Atlassian products](https://marketplace.atlassian.com/)
[CustomersCase studies & stories powered by teamwork](https://www.atlassian.com/customers)
[FedRAMPCompliant solutions for the public sector](https://www.atlassian.com/trust/compliance/resources/fedramp)
[ResilienceEnterprise-grade & highly performant infrastructure](https://www.atlassian.com/trust/resilience)
[PlatformOur deeply integrated, reliable & secure platform](https://www.atlassian.com/platform)
[Trust centerEnsure your data's security, compliance & availability](https://www.atlassian.com/trust)
Resources
[Customer SupportAsk questions, report bugs & give us feedback](https://support.atlassian.com/)
[Find PartnersConsulting, training & product customization support](https://partnerdirectory.atlassian.com/)
[Atlassian AscendResources and support for your transformation](https://www.atlassian.com/migration)
[CommunityLearn, connect and grow with the Atlassian Community](https://community.atlassian.com/)
Support
- [General Inquiries](https://www.atlassian.com/company/contact/general-inquiries)
- [Technical Support](https://support.atlassian.com/contact/)
- [Product Advice](https://www.atlassian.com/company/contact/product-evaluator-advice)
- [Pricing and Billing](https://www.atlassian.com/company/contact/purchasing-licensing)
- [Partner Support](https://www.atlassian.com/partners)
- [Developer Support](https://developer.atlassian.com/)
- [Enterprise Support](https://www.atlassian.com/enterprise/services)
- [Purchasing and Licensing](https://www.atlassian.com/licensing/purchase-licensing)
Resources
- [Project Management](https://www.atlassian.com/project-management)
- [Project Collaboration](https://www.atlassian.com/work-management/project-collaboration)
- [Agile](https://www.atlassian.com/agile)
- [Team Playbook](https://www.atlassian.com/team-playbook)
- [Atlassian Learning](https://community.atlassian.com/learning)
- [Product Documentation](https://confluence.atlassian.com/display/ALLDOC/Atlassian+Documentation)
- [Get Started](https://www.atlassian.com/get-started)
Git topics
- Learn Git
- [Git commands](https://www.atlassian.com/git/glossary)
- [Learn Git with Bitbucket Cloud](https://www.atlassian.com/git/tutorials/learn-git-with-bitbucket-cloud)
- [Learn about code review in Bitbucket Cloud](https://www.atlassian.com/git/tutorials/learn-about-code-review-in-bitbucket-cloud)
- [Learn Branching with Bitbucket Cloud](https://www.atlassian.com/git/tutorials/learn-branching-with-bitbucket-cloud)
- [Learn Undoing Changes with Bitbucket Cloud](https://www.atlassian.com/git/tutorials/learn-undoing-changes-with-bitbucket)
- Beginner
- [What is version control](https://www.atlassian.com/git/tutorials/what-is-version-control)
- [Source Code Management](https://www.atlassian.com/git/tutorials/source-code-management)
- [What is Git](https://www.atlassian.com/git/tutorials/what-is-git)
- [Why Git for your organization](https://www.atlassian.com/git/tutorials/why-git)
- [Install Git](https://www.atlassian.com/git/tutorials/install-git)
- [Git SSH](https://www.atlassian.com/git/tutorials/git-ssh)
- [Git archive](https://www.atlassian.com/git/tutorials/export-git-archive)
- [GitOps](https://www.atlassian.com/git/tutorials/gitops)
- [Git cheat sheet](https://www.atlassian.com/git/tutorials/atlassian-git-cheatsheet)
- Getting started
- Setting up a repository
- [Overview](https://www.atlassian.com/git/tutorials/setting-up-a-repository)
- [git init](https://www.atlassian.com/git/tutorials/setting-up-a-repository/git-init)
- [git clone](https://www.atlassian.com/git/tutorials/setting-up-a-repository/git-clone)
- [git config](https://www.atlassian.com/git/tutorials/setting-up-a-repository/git-config)
- [git alias](https://www.atlassian.com/git/tutorials/git-alias)
- Saving changes (Git add)
- [Overview](https://www.atlassian.com/git/tutorials/saving-changes)
- [git commit](https://www.atlassian.com/git/tutorials/saving-changes/git-commit)
- [git diff](https://www.atlassian.com/git/tutorials/saving-changes/git-diff)
- [git stash](https://www.atlassian.com/git/tutorials/saving-changes/git-stash)
- [.gitignore](https://www.atlassian.com/git/tutorials/saving-changes/gitignore)
- Inspecting a repository
- [Overview](https://www.atlassian.com/git/tutorials/inspecting-a-repository)
- [git tag](https://www.atlassian.com/git/tutorials/inspecting-a-repository/git-tag)
- [git blame](https://www.atlassian.com/git/tutorials/inspecting-a-repository/git-blame)
- Undoing changes
- [Overview](https://www.atlassian.com/git/tutorials/undoing-changes)
- [git clean](https://www.atlassian.com/git/tutorials/undoing-changes/git-clean)
- [git revert](https://www.atlassian.com/git/tutorials/undoing-changes/git-revert)
- [git reset](https://www.atlassian.com/git/tutorials/undoing-changes/git-reset)
- [git rm](https://www.atlassian.com/git/tutorials/undoing-changes/git-rm)
- Rewriting history
- [Overview](https://www.atlassian.com/git/tutorials/rewriting-history)
- [git rebase](https://www.atlassian.com/git/tutorials/rewriting-history/git-rebase)
- [git reflog](https://www.atlassian.com/git/tutorials/rewriting-history/git-reflog)
- Collaborating workflows
- Syncing (git remote)
- [Overview](https://www.atlassian.com/git/tutorials/syncing)
- [git fetch](https://www.atlassian.com/git/tutorials/syncing/git-fetch)
- [git push](https://www.atlassian.com/git/tutorials/syncing/git-push)
- [git pull](https://www.atlassian.com/git/tutorials/syncing/git-pull)
- [Making a Pull Request](https://www.atlassian.com/git/tutorials/making-a-pull-request)
- Using Branches (Git branch)
- [Overview](https://www.atlassian.com/git/tutorials/using-branches)
- [git checkout](https://www.atlassian.com/git/tutorials/using-branches/git-checkout)
- [git merge](https://www.atlassian.com/git/tutorials/using-branches/git-merge)
- [Merge conflicts](https://www.atlassian.com/git/tutorials/using-branches/merge-conflicts)
- [Merge strategies](https://www.atlassian.com/git/tutorials/using-branches/merge-strategy)
- Comparing Workflows
- [Overview](https://www.atlassian.com/git/tutorials/comparing-workflows)
- [Feature Branch Workflow](https://www.atlassian.com/git/tutorials/comparing-workflows/feature-branch-workflow)
- [Gitflow Workflow](https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow)
- [Forking Workflow](https://www.atlassian.com/git/tutorials/comparing-workflows/forking-workflow)
- Migrating to Git
- [SVN to Git - prepping for the migration](https://www.atlassian.com/git/tutorials/svn-to-git-prepping-your-team-migration)
- Migrate to Git from SVN
- [Overview](https://www.atlassian.com/git/tutorials/migrating-overview)
- [Prepare](https://www.atlassian.com/git/tutorials/migrating-prepare)
- [Convert](https://www.atlassian.com/git/tutorials/migrating-convert)
- [Synchronize](https://www.atlassian.com/git/tutorials/migrating-synchronize)
- [Share](https://www.atlassian.com/git/tutorials/migrating-share)
- [Migrate](https://www.atlassian.com/git/tutorials/migrating-migrate)
- [Perforce to Git - why to make the move](https://www.atlassian.com/git/tutorials/perforce-git)
- [Migrating from Perforce to Git](https://www.atlassian.com/git/tutorials/perforce-git-migration)
- [Working with Git and Perforce: integration workflow](https://www.atlassian.com/git/tutorials/git-p4)
- [How to move a Git repository with history](https://www.atlassian.com/git/tutorials/git-move-repository)
- Advanced Tips
- [Overview](https://www.atlassian.com/git/tutorials/advanced-overview)
- [Merging vs. Rebasing](https://www.atlassian.com/git/tutorials/merging-vs-rebasing)
- [Reset, Checkout, and Revert](https://www.atlassian.com/git/tutorials/resetting-checking-out-and-reverting)
- [Advanced Git log](https://www.atlassian.com/git/tutorials/git-log)
- [Git Hooks](https://www.atlassian.com/git/tutorials/git-hooks)
- [Refs and the Reflog](https://www.atlassian.com/git/tutorials/refs-and-the-reflog)
- [Git submodules](https://www.atlassian.com/git/tutorials/git-submodule)
- [Git subtree](https://www.atlassian.com/git/tutorials/git-subtree)
- [Large repositories in Git](https://www.atlassian.com/git/tutorials/big-repositories)
- [Git LFS](https://www.atlassian.com/git/tutorials/git-lfs)
- [Git gc](https://www.atlassian.com/git/tutorials/git-gc)
- [Git prune](https://www.atlassian.com/git/tutorials/git-prune)
- [Git bash](https://www.atlassian.com/git/tutorials/git-bash)
- [How to store dotfiles](https://www.atlassian.com/git/tutorials/dotfiles)
- [Git cherry pick](https://www.atlassian.com/git/tutorials/cherry-pick)
- [GitK](https://www.atlassian.com/git/tutorials/gitk)
- [Git-show](https://www.atlassian.com/git/tutorials/git-show)
- Articles
- [Dealing with Maven dependencies when switching to Git](https://www.atlassian.com/git/articles/maven-dependencies-versions-merging)
- [Pull request proficiency: Fetching abilities unlocked\!](https://www.atlassian.com/git/articles/pull-request-proficiency-fetching-abilities-unlocked)
- [Git and project dependencies](https://www.atlassian.com/git/articles/git-and-project-dependencies)
- [Git or SVN? How Nuance Healthcare Chose a Git Branching Model](https://www.atlassian.com/git/articles/git-or-svn-git-branching-model)
- [Git Forks And Upstreams: How-to and a cool tip](https://www.atlassian.com/git/tutorials/git-forks-and-upstreams)
- [Core concept, workflows and tips](https://www.atlassian.com/git/articles/core-concept-workflows-and-tips)
Git topics
- Learn Git
- [Git commands](https://www.atlassian.com/git/glossary)
- [Learn Git with Bitbucket Cloud](https://www.atlassian.com/git/tutorials/learn-git-with-bitbucket-cloud)
- [Learn about code review in Bitbucket Cloud](https://www.atlassian.com/git/tutorials/learn-about-code-review-in-bitbucket-cloud)
- [Learn Branching with Bitbucket Cloud](https://www.atlassian.com/git/tutorials/learn-branching-with-bitbucket-cloud)
- [Learn Undoing Changes with Bitbucket Cloud](https://www.atlassian.com/git/tutorials/learn-undoing-changes-with-bitbucket)
- Beginner
- [What is version control](https://www.atlassian.com/git/tutorials/what-is-version-control)
- [Source Code Management](https://www.atlassian.com/git/tutorials/source-code-management)
- [What is Git](https://www.atlassian.com/git/tutorials/what-is-git)
- [Why Git for your organization](https://www.atlassian.com/git/tutorials/why-git)
- [Install Git](https://www.atlassian.com/git/tutorials/install-git)
- [Git SSH](https://www.atlassian.com/git/tutorials/git-ssh)
- [Git archive](https://www.atlassian.com/git/tutorials/export-git-archive)
- [GitOps](https://www.atlassian.com/git/tutorials/gitops)
- [Git cheat sheet](https://www.atlassian.com/git/tutorials/atlassian-git-cheatsheet)
- Getting started
- Setting up a repository
- [Overview](https://www.atlassian.com/git/tutorials/setting-up-a-repository)
- [git init](https://www.atlassian.com/git/tutorials/setting-up-a-repository/git-init)
- [git clone](https://www.atlassian.com/git/tutorials/setting-up-a-repository/git-clone)
- [git config](https://www.atlassian.com/git/tutorials/setting-up-a-repository/git-config)
- [git alias](https://www.atlassian.com/git/tutorials/git-alias)
- Saving changes (Git add)
- [Overview](https://www.atlassian.com/git/tutorials/saving-changes)
- [git commit](https://www.atlassian.com/git/tutorials/saving-changes/git-commit)
- [git diff](https://www.atlassian.com/git/tutorials/saving-changes/git-diff)
- [git stash](https://www.atlassian.com/git/tutorials/saving-changes/git-stash)
- [.gitignore](https://www.atlassian.com/git/tutorials/saving-changes/gitignore)
- Inspecting a repository
- [Overview](https://www.atlassian.com/git/tutorials/inspecting-a-repository)
- [git tag](https://www.atlassian.com/git/tutorials/inspecting-a-repository/git-tag)
- [git blame](https://www.atlassian.com/git/tutorials/inspecting-a-repository/git-blame)
- Undoing changes
- [Overview](https://www.atlassian.com/git/tutorials/undoing-changes)
- [git clean](https://www.atlassian.com/git/tutorials/undoing-changes/git-clean)
- [git revert](https://www.atlassian.com/git/tutorials/undoing-changes/git-revert)
- [git reset](https://www.atlassian.com/git/tutorials/undoing-changes/git-reset)
- [git rm](https://www.atlassian.com/git/tutorials/undoing-changes/git-rm)
- Rewriting history
- [Overview](https://www.atlassian.com/git/tutorials/rewriting-history)
- [git rebase](https://www.atlassian.com/git/tutorials/rewriting-history/git-rebase)
- [git reflog](https://www.atlassian.com/git/tutorials/rewriting-history/git-reflog)
- Collaborating workflows
- Syncing (git remote)
- [Overview](https://www.atlassian.com/git/tutorials/syncing)
- [git fetch](https://www.atlassian.com/git/tutorials/syncing/git-fetch)
- [git push](https://www.atlassian.com/git/tutorials/syncing/git-push)
- [git pull](https://www.atlassian.com/git/tutorials/syncing/git-pull)
- [Making a Pull Request](https://www.atlassian.com/git/tutorials/making-a-pull-request)
- Using Branches (Git branch)
- [Overview](https://www.atlassian.com/git/tutorials/using-branches)
- [git checkout](https://www.atlassian.com/git/tutorials/using-branches/git-checkout)
- [git merge](https://www.atlassian.com/git/tutorials/using-branches/git-merge)
- [Merge conflicts](https://www.atlassian.com/git/tutorials/using-branches/merge-conflicts)
- [Merge strategies](https://www.atlassian.com/git/tutorials/using-branches/merge-strategy)
- Comparing Workflows
- [Overview](https://www.atlassian.com/git/tutorials/comparing-workflows)
- [Feature Branch Workflow](https://www.atlassian.com/git/tutorials/comparing-workflows/feature-branch-workflow)
- [Gitflow Workflow](https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow)
- [Forking Workflow](https://www.atlassian.com/git/tutorials/comparing-workflows/forking-workflow)
- Migrating to Git
- [SVN to Git - prepping for the migration](https://www.atlassian.com/git/tutorials/svn-to-git-prepping-your-team-migration)
- Migrate to Git from SVN
- [Overview](https://www.atlassian.com/git/tutorials/migrating-overview)
- [Prepare](https://www.atlassian.com/git/tutorials/migrating-prepare)
- [Convert](https://www.atlassian.com/git/tutorials/migrating-convert)
- [Synchronize](https://www.atlassian.com/git/tutorials/migrating-synchronize)
- [Share](https://www.atlassian.com/git/tutorials/migrating-share)
- [Migrate](https://www.atlassian.com/git/tutorials/migrating-migrate)
- [Perforce to Git - why to make the move](https://www.atlassian.com/git/tutorials/perforce-git)
- [Migrating from Perforce to Git](https://www.atlassian.com/git/tutorials/perforce-git-migration)
- [Working with Git and Perforce: integration workflow](https://www.atlassian.com/git/tutorials/git-p4)
- [How to move a Git repository with history](https://www.atlassian.com/git/tutorials/git-move-repository)
- Advanced Tips
- [Overview](https://www.atlassian.com/git/tutorials/advanced-overview)
- [Merging vs. Rebasing](https://www.atlassian.com/git/tutorials/merging-vs-rebasing)
- [Reset, Checkout, and Revert](https://www.atlassian.com/git/tutorials/resetting-checking-out-and-reverting)
- [Advanced Git log](https://www.atlassian.com/git/tutorials/git-log)
- [Git Hooks](https://www.atlassian.com/git/tutorials/git-hooks)
- [Refs and the Reflog](https://www.atlassian.com/git/tutorials/refs-and-the-reflog)
- [Git submodules](https://www.atlassian.com/git/tutorials/git-submodule)
- [Git subtree](https://www.atlassian.com/git/tutorials/git-subtree)
- [Large repositories in Git](https://www.atlassian.com/git/tutorials/big-repositories)
- [Git LFS](https://www.atlassian.com/git/tutorials/git-lfs)
- [Git gc](https://www.atlassian.com/git/tutorials/git-gc)
- [Git prune](https://www.atlassian.com/git/tutorials/git-prune)
- [Git bash](https://www.atlassian.com/git/tutorials/git-bash)
- [How to store dotfiles](https://www.atlassian.com/git/tutorials/dotfiles)
- [Git cherry pick](https://www.atlassian.com/git/tutorials/cherry-pick)
- [GitK](https://www.atlassian.com/git/tutorials/gitk)
- [Git-show](https://www.atlassian.com/git/tutorials/git-show)
- Articles
- [Dealing with Maven dependencies when switching to Git](https://www.atlassian.com/git/articles/maven-dependencies-versions-merging)
- [Pull request proficiency: Fetching abilities unlocked\!](https://www.atlassian.com/git/articles/pull-request-proficiency-fetching-abilities-unlocked)
- [Git and project dependencies](https://www.atlassian.com/git/articles/git-and-project-dependencies)
- [Git or SVN? How Nuance Healthcare Chose a Git Branching Model](https://www.atlassian.com/git/articles/git-or-svn-git-branching-model)
- [Git Forks And Upstreams: How-to and a cool tip](https://www.atlassian.com/git/tutorials/git-forks-and-upstreams)
- [Core concept, workflows and tips](https://www.atlassian.com/git/articles/core-concept-workflows-and-tips)
Git topics
- Learn Git
- [Git commands](https://www.atlassian.com/git/glossary)
- [Learn Git with Bitbucket Cloud](https://www.atlassian.com/git/tutorials/learn-git-with-bitbucket-cloud)
- [Learn about code review in Bitbucket Cloud](https://www.atlassian.com/git/tutorials/learn-about-code-review-in-bitbucket-cloud)
- [Learn Branching with Bitbucket Cloud](https://www.atlassian.com/git/tutorials/learn-branching-with-bitbucket-cloud)
- [Learn Undoing Changes with Bitbucket Cloud](https://www.atlassian.com/git/tutorials/learn-undoing-changes-with-bitbucket)
- Beginner
- [What is version control](https://www.atlassian.com/git/tutorials/what-is-version-control)
- [Source Code Management](https://www.atlassian.com/git/tutorials/source-code-management)
- [What is Git](https://www.atlassian.com/git/tutorials/what-is-git)
- [Why Git for your organization](https://www.atlassian.com/git/tutorials/why-git)
- [Install Git](https://www.atlassian.com/git/tutorials/install-git)
- [Git SSH](https://www.atlassian.com/git/tutorials/git-ssh)
- [Git archive](https://www.atlassian.com/git/tutorials/export-git-archive)
- [GitOps](https://www.atlassian.com/git/tutorials/gitops)
- [Git cheat sheet](https://www.atlassian.com/git/tutorials/atlassian-git-cheatsheet)
- Getting started
- Setting up a repository
- [Overview](https://www.atlassian.com/git/tutorials/setting-up-a-repository)
- [git init](https://www.atlassian.com/git/tutorials/setting-up-a-repository/git-init)
- [git clone](https://www.atlassian.com/git/tutorials/setting-up-a-repository/git-clone)
- [git config](https://www.atlassian.com/git/tutorials/setting-up-a-repository/git-config)
- [git alias](https://www.atlassian.com/git/tutorials/git-alias)
- Saving changes (Git add)
- [Overview](https://www.atlassian.com/git/tutorials/saving-changes)
- [git commit](https://www.atlassian.com/git/tutorials/saving-changes/git-commit)
- [git diff](https://www.atlassian.com/git/tutorials/saving-changes/git-diff)
- [git stash](https://www.atlassian.com/git/tutorials/saving-changes/git-stash)
- [.gitignore](https://www.atlassian.com/git/tutorials/saving-changes/gitignore)
- Inspecting a repository
- [Overview](https://www.atlassian.com/git/tutorials/inspecting-a-repository)
- [git tag](https://www.atlassian.com/git/tutorials/inspecting-a-repository/git-tag)
- [git blame](https://www.atlassian.com/git/tutorials/inspecting-a-repository/git-blame)
- Undoing changes
- [Overview](https://www.atlassian.com/git/tutorials/undoing-changes)
- [git clean](https://www.atlassian.com/git/tutorials/undoing-changes/git-clean)
- [git revert](https://www.atlassian.com/git/tutorials/undoing-changes/git-revert)
- [git reset](https://www.atlassian.com/git/tutorials/undoing-changes/git-reset)
- [git rm](https://www.atlassian.com/git/tutorials/undoing-changes/git-rm)
- Rewriting history
- [Overview](https://www.atlassian.com/git/tutorials/rewriting-history)
- [git rebase](https://www.atlassian.com/git/tutorials/rewriting-history/git-rebase)
- [git reflog](https://www.atlassian.com/git/tutorials/rewriting-history/git-reflog)
- Collaborating workflows
- Syncing (git remote)
- [Overview](https://www.atlassian.com/git/tutorials/syncing)
- [git fetch](https://www.atlassian.com/git/tutorials/syncing/git-fetch)
- [git push](https://www.atlassian.com/git/tutorials/syncing/git-push)
- [git pull](https://www.atlassian.com/git/tutorials/syncing/git-pull)
- [Making a Pull Request](https://www.atlassian.com/git/tutorials/making-a-pull-request)
- Using Branches (Git branch)
- [Overview](https://www.atlassian.com/git/tutorials/using-branches)
- [git checkout](https://www.atlassian.com/git/tutorials/using-branches/git-checkout)
- [git merge](https://www.atlassian.com/git/tutorials/using-branches/git-merge)
- [Merge conflicts](https://www.atlassian.com/git/tutorials/using-branches/merge-conflicts)
- [Merge strategies](https://www.atlassian.com/git/tutorials/using-branches/merge-strategy)
- Comparing Workflows
- [Overview](https://www.atlassian.com/git/tutorials/comparing-workflows)
- [Feature Branch Workflow](https://www.atlassian.com/git/tutorials/comparing-workflows/feature-branch-workflow)
- [Gitflow Workflow](https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow)
- [Forking Workflow](https://www.atlassian.com/git/tutorials/comparing-workflows/forking-workflow)
- Migrating to Git
- [SVN to Git - prepping for the migration](https://www.atlassian.com/git/tutorials/svn-to-git-prepping-your-team-migration)
- Migrate to Git from SVN
- [Overview](https://www.atlassian.com/git/tutorials/migrating-overview)
- [Prepare](https://www.atlassian.com/git/tutorials/migrating-prepare)
- [Convert](https://www.atlassian.com/git/tutorials/migrating-convert)
- [Synchronize](https://www.atlassian.com/git/tutorials/migrating-synchronize)
- [Share](https://www.atlassian.com/git/tutorials/migrating-share)
- [Migrate](https://www.atlassian.com/git/tutorials/migrating-migrate)
- [Perforce to Git - why to make the move](https://www.atlassian.com/git/tutorials/perforce-git)
- [Migrating from Perforce to Git](https://www.atlassian.com/git/tutorials/perforce-git-migration)
- [Working with Git and Perforce: integration workflow](https://www.atlassian.com/git/tutorials/git-p4)
- [How to move a Git repository with history](https://www.atlassian.com/git/tutorials/git-move-repository)
- Advanced Tips
- [Overview](https://www.atlassian.com/git/tutorials/advanced-overview)
- [Merging vs. Rebasing](https://www.atlassian.com/git/tutorials/merging-vs-rebasing)
- [Reset, Checkout, and Revert](https://www.atlassian.com/git/tutorials/resetting-checking-out-and-reverting)
- [Advanced Git log](https://www.atlassian.com/git/tutorials/git-log)
- [Git Hooks](https://www.atlassian.com/git/tutorials/git-hooks)
- [Refs and the Reflog](https://www.atlassian.com/git/tutorials/refs-and-the-reflog)
- [Git submodules](https://www.atlassian.com/git/tutorials/git-submodule)
- [Git subtree](https://www.atlassian.com/git/tutorials/git-subtree)
- [Large repositories in Git](https://www.atlassian.com/git/tutorials/big-repositories)
- [Git LFS](https://www.atlassian.com/git/tutorials/git-lfs)
- [Git gc](https://www.atlassian.com/git/tutorials/git-gc)
- [Git prune](https://www.atlassian.com/git/tutorials/git-prune)
- [Git bash](https://www.atlassian.com/git/tutorials/git-bash)
- [How to store dotfiles](https://www.atlassian.com/git/tutorials/dotfiles)
- [Git cherry pick](https://www.atlassian.com/git/tutorials/cherry-pick)
- [GitK](https://www.atlassian.com/git/tutorials/gitk)
- [Git-show](https://www.atlassian.com/git/tutorials/git-show)
- Articles
- [Dealing with Maven dependencies when switching to Git](https://www.atlassian.com/git/articles/maven-dependencies-versions-merging)
- [Pull request proficiency: Fetching abilities unlocked\!](https://www.atlassian.com/git/articles/pull-request-proficiency-fetching-abilities-unlocked)
- [Git and project dependencies](https://www.atlassian.com/git/articles/git-and-project-dependencies)
- [Git or SVN? How Nuance Healthcare Chose a Git Branching Model](https://www.atlassian.com/git/articles/git-or-svn-git-branching-model)
- [Git Forks And Upstreams: How-to and a cool tip](https://www.atlassian.com/git/tutorials/git-forks-and-upstreams)
- [Core concept, workflows and tips](https://www.atlassian.com/git/articles/core-concept-workflows-and-tips)
Git topics
- Learn Git
- [Git commands](https://www.atlassian.com/git/glossary)
- [Learn Git with Bitbucket Cloud](https://www.atlassian.com/git/tutorials/learn-git-with-bitbucket-cloud)
- [Learn about code review in Bitbucket Cloud](https://www.atlassian.com/git/tutorials/learn-about-code-review-in-bitbucket-cloud)
- [Learn Branching with Bitbucket Cloud](https://www.atlassian.com/git/tutorials/learn-branching-with-bitbucket-cloud)
- [Learn Undoing Changes with Bitbucket Cloud](https://www.atlassian.com/git/tutorials/learn-undoing-changes-with-bitbucket)
- Beginner
- [What is version control](https://www.atlassian.com/git/tutorials/what-is-version-control)
- [Source Code Management](https://www.atlassian.com/git/tutorials/source-code-management)
- [What is Git](https://www.atlassian.com/git/tutorials/what-is-git)
- [Why Git for your organization](https://www.atlassian.com/git/tutorials/why-git)
- [Install Git](https://www.atlassian.com/git/tutorials/install-git)
- [Git SSH](https://www.atlassian.com/git/tutorials/git-ssh)
- [Git archive](https://www.atlassian.com/git/tutorials/export-git-archive)
- [GitOps](https://www.atlassian.com/git/tutorials/gitops)
- [Git cheat sheet](https://www.atlassian.com/git/tutorials/atlassian-git-cheatsheet)
- Getting started
- Setting up a repository
- [Overview](https://www.atlassian.com/git/tutorials/setting-up-a-repository)
- [git init](https://www.atlassian.com/git/tutorials/setting-up-a-repository/git-init)
- [git clone](https://www.atlassian.com/git/tutorials/setting-up-a-repository/git-clone)
- [git config](https://www.atlassian.com/git/tutorials/setting-up-a-repository/git-config)
- [git alias](https://www.atlassian.com/git/tutorials/git-alias)
- Saving changes (Git add)
- [Overview](https://www.atlassian.com/git/tutorials/saving-changes)
- [git commit](https://www.atlassian.com/git/tutorials/saving-changes/git-commit)
- [git diff](https://www.atlassian.com/git/tutorials/saving-changes/git-diff)
- [git stash](https://www.atlassian.com/git/tutorials/saving-changes/git-stash)
- [.gitignore](https://www.atlassian.com/git/tutorials/saving-changes/gitignore)
- Inspecting a repository
- [Overview](https://www.atlassian.com/git/tutorials/inspecting-a-repository)
- [git tag](https://www.atlassian.com/git/tutorials/inspecting-a-repository/git-tag)
- [git blame](https://www.atlassian.com/git/tutorials/inspecting-a-repository/git-blame)
- Undoing changes
- [Overview](https://www.atlassian.com/git/tutorials/undoing-changes)
- [git clean](https://www.atlassian.com/git/tutorials/undoing-changes/git-clean)
- [git revert](https://www.atlassian.com/git/tutorials/undoing-changes/git-revert)
- [git reset](https://www.atlassian.com/git/tutorials/undoing-changes/git-reset)
- [git rm](https://www.atlassian.com/git/tutorials/undoing-changes/git-rm)
- Rewriting history
- [Overview](https://www.atlassian.com/git/tutorials/rewriting-history)
- [git rebase](https://www.atlassian.com/git/tutorials/rewriting-history/git-rebase)
- [git reflog](https://www.atlassian.com/git/tutorials/rewriting-history/git-reflog)
- Collaborating workflows
- Syncing (git remote)
- [Overview](https://www.atlassian.com/git/tutorials/syncing)
- [git fetch](https://www.atlassian.com/git/tutorials/syncing/git-fetch)
- [git push](https://www.atlassian.com/git/tutorials/syncing/git-push)
- [git pull](https://www.atlassian.com/git/tutorials/syncing/git-pull)
- [Making a Pull Request](https://www.atlassian.com/git/tutorials/making-a-pull-request)
- Using Branches (Git branch)
- [Overview](https://www.atlassian.com/git/tutorials/using-branches)
- [git checkout](https://www.atlassian.com/git/tutorials/using-branches/git-checkout)
- [git merge](https://www.atlassian.com/git/tutorials/using-branches/git-merge)
- [Merge conflicts](https://www.atlassian.com/git/tutorials/using-branches/merge-conflicts)
- [Merge strategies](https://www.atlassian.com/git/tutorials/using-branches/merge-strategy)
- Comparing Workflows
- [Overview](https://www.atlassian.com/git/tutorials/comparing-workflows)
- [Feature Branch Workflow](https://www.atlassian.com/git/tutorials/comparing-workflows/feature-branch-workflow)
- [Gitflow Workflow](https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow)
- [Forking Workflow](https://www.atlassian.com/git/tutorials/comparing-workflows/forking-workflow)
- Migrating to Git
- [SVN to Git - prepping for the migration](https://www.atlassian.com/git/tutorials/svn-to-git-prepping-your-team-migration)
- Migrate to Git from SVN
- [Overview](https://www.atlassian.com/git/tutorials/migrating-overview)
- [Prepare](https://www.atlassian.com/git/tutorials/migrating-prepare)
- [Convert](https://www.atlassian.com/git/tutorials/migrating-convert)
- [Synchronize](https://www.atlassian.com/git/tutorials/migrating-synchronize)
- [Share](https://www.atlassian.com/git/tutorials/migrating-share)
- [Migrate](https://www.atlassian.com/git/tutorials/migrating-migrate)
- [Perforce to Git - why to make the move](https://www.atlassian.com/git/tutorials/perforce-git)
- [Migrating from Perforce to Git](https://www.atlassian.com/git/tutorials/perforce-git-migration)
- [Working with Git and Perforce: integration workflow](https://www.atlassian.com/git/tutorials/git-p4)
- [How to move a Git repository with history](https://www.atlassian.com/git/tutorials/git-move-repository)
- Advanced Tips
- [Overview](https://www.atlassian.com/git/tutorials/advanced-overview)
- [Merging vs. Rebasing](https://www.atlassian.com/git/tutorials/merging-vs-rebasing)
- [Reset, Checkout, and Revert](https://www.atlassian.com/git/tutorials/resetting-checking-out-and-reverting)
- [Advanced Git log](https://www.atlassian.com/git/tutorials/git-log)
- [Git Hooks](https://www.atlassian.com/git/tutorials/git-hooks)
- [Refs and the Reflog](https://www.atlassian.com/git/tutorials/refs-and-the-reflog)
- [Git submodules](https://www.atlassian.com/git/tutorials/git-submodule)
- [Git subtree](https://www.atlassian.com/git/tutorials/git-subtree)
- [Large repositories in Git](https://www.atlassian.com/git/tutorials/big-repositories)
- [Git LFS](https://www.atlassian.com/git/tutorials/git-lfs)
- [Git gc](https://www.atlassian.com/git/tutorials/git-gc)
- [Git prune](https://www.atlassian.com/git/tutorials/git-prune)
- [Git bash](https://www.atlassian.com/git/tutorials/git-bash)
- [How to store dotfiles](https://www.atlassian.com/git/tutorials/dotfiles)
- [Git cherry pick](https://www.atlassian.com/git/tutorials/cherry-pick)
- [GitK](https://www.atlassian.com/git/tutorials/gitk)
- [Git-show](https://www.atlassian.com/git/tutorials/git-show)
- Articles
- [Dealing with Maven dependencies when switching to Git](https://www.atlassian.com/git/articles/maven-dependencies-versions-merging)
- [Pull request proficiency: Fetching abilities unlocked\!](https://www.atlassian.com/git/articles/pull-request-proficiency-fetching-abilities-unlocked)
- [Git and project dependencies](https://www.atlassian.com/git/articles/git-and-project-dependencies)
- [Git or SVN? How Nuance Healthcare Chose a Git Branching Model](https://www.atlassian.com/git/articles/git-or-svn-git-branching-model)
- [Git Forks And Upstreams: How-to and a cool tip](https://www.atlassian.com/git/tutorials/git-forks-and-upstreams)
- [Core concept, workflows and tips](https://www.atlassian.com/git/articles/core-concept-workflows-and-tips)
# Git cherry pick
`git cherry-pick` is a powerful command that enables arbitrary Git commits to be picked by reference and appended to the current working HEAD. Cherry picking is the act of picking a commit from a branch and applying it to another. `git cherry-pick` can be useful for undoing changes. For example, say a commit is accidently made to the wrong branch. You can switch to the correct branch and cherry-pick the commit to where it should belong.
## When to use git cherry pick
`git cherry-pick` is a useful tool but not always a best practice. Cherry picking can cause duplicate commits and many scenarios where cherry picking would work, traditional merges are preferred instead. With that said `git cherry-pick` is a handy tool for a few scenarios...
## Team collaboration
Often times a team will find individual members working in or around the same code. Maybe a new product feature has a backend and frontend component. There may be some shared code between to two product sectors. Maybe the backend developer creates a data structure that the frontend will also need to utilize. The frontend developer could use `git cherry-pick` to pick the commit in which this hypothetical data structure was created. This pick would enable the frontend developer to continue progress on their side of the project.
## Bug hotfixes
When a bug is discovered it is important to deliver a fix to end users as quickly as possible. For an example scenario,say a developer has started work on a new feature. During that new feature development they identify a pre-existing bug. The developer creates an explicit commit patching this bug. This new patch commit can be cherry-picked directly to the `main` branch to fix the bug before it effects more users.
## Undoing changes and restoring lost commits
Sometimes a `feature` branch may go stale and not get merged into `main`. Sometimes a pull request might get closed without merging. Git never loses those commits and through commands like [git log](https://www.atlassian.com/git/tutorials/git-log) and [git reflog](https://www.atlassian.com/git/tutorials/rewriting-history/git-reflog) they can be found and cherry picked back to life.
## How to use git cherry pick
To demonstrate how to use `git cherry-pick` let us assume we have a repository with the following branch state:
```
1a - b - c - d Main
2 \
3 e - f - g Feature
```
`git cherry-pick` usage is straight forward and can be executed like:
```
1git cherry-pick commitSha
```
In this example `commit`Sha is a commit reference. You can find a commit reference by using `git log`. In this example we have constructed lets say we wanted to use commit \`f\` in `main`. First we ensure that we are working on the `main` branch.
```
1git checkout main
```
Then we execute the cherry-pick with the following command:
```
1git cherry-pick f
```
Once executed our Git history will look like:
```
1a - b - c - d - f Main
2 \
3 e - f - g Feature
```
The f commit has been successfully picked into the main branch
## Examples of git cherry pick
`git cherry pick` can also be passed some execution options.
```
1-edit
```
Passing the `-edit` option will cause git to prompt for a commit message before applying the cherry-pick operation
```
1--no-commit
```
The `--no-commit` option will execute the cherry pick but instead of making a new commit it will move the contents of the target commit into the working directory of the current branch.
```
1--signoff
```
The `--signoff` option will add a 'signoff' signature line to the end of the cherry-pick commit message
In addition to these helpful options `git cherry-pick` also accepts a variety of merge strategy options. Learn more about these options at the [git merge strategies](https://www.atlassian.com/git/tutorials/using-branches/merge-strategy) documentation.
Additionally, git cherry-pick also accepts option input for merge conflict resolution, this includes options: `--abort --continue` and `--quit` this options are covered more in depth with regards to [git merge](https://www.atlassian.com/git/tutorials/using-branches/git-merge) and [git rebase](https://www.atlassian.com/git/tutorials/rewriting-history/git-rebase).
## Summary
Cherry picking is a powerful and convenient command that is incredibly useful in a few scenarios. Cherry picking should not be misused in place of [git merge](https://www.atlassian.com/git/tutorials/using-branches/git-merge) or [git rebase](https://www.atlassian.com/git/tutorials/rewriting-history/git-rebase). The [git log](https://www.atlassian.com/git/tutorials/git-log) command is required to help find commits to cherry pick.
## Recommended for you
### Bitbucket blog
[Learn more](https://www.atlassian.com/blog/bitbucket)
### DevOps learning path
[Learn more](https://university.atlassian.com/student/activity/2483065-hello-and-welcome)
### Learn more about Git
Find more Git guides and resources in this hub.
[Read more](https://www.atlassian.com/git)
- [Company](https://www.atlassian.com/company)
- [Careers](https://www.atlassian.com/company/careers)
- [Events](https://www.atlassian.com/company/events)
- [Blogs](https://www.atlassian.com/blog)
- [Investor Relations](https://investors.atlassian.com/)
- [Atlassian Foundation](https://www.atlassianfoundation.org/)
- [Press kit](https://www.atlassian.com/company/news/press-kit)
- [Contact us](https://www.atlassian.com/company/contact)
## Products
- [Rovo](https://www.atlassian.com/rovo)
- [Jira](https://www.atlassian.com/software/jira)
- [Jira Align](https://www.atlassian.com/software/jira/align)
- [Jira Service Management](https://www.atlassian.com/software/jira/service-management)
- [Confluence](https://www.atlassian.com/software/confluence)
- [Loom](https://www.atlassian.com/software/loom)
- [Trello](https://trello.com/home)
- [Bitbucket](https://www.atlassian.com/software/bitbucket)
- [See all products](https://www.atlassian.com/software)
## Resources
- [Technical support](https://support.atlassian.com/)
- [Purchasing & licensing](https://www.atlassian.com/licensing/purchase-licensing)
- [Atlassian Community](https://community.atlassian.com/)
- [Knowledge base](https://confluence.atlassian.com/kb)
- [Marketplace](https://marketplace.atlassian.com/)
- [My account](https://my.atlassian.com/products/index)
- [Create support ticket](https://support.atlassian.com/contact/)
## Learn
- [Partners](https://www.atlassian.com/partners)
- [Training & certification](https://www.atlassian.com/university)
- [Documentation](https://confluence.atlassian.com/display/ALLDOC/Atlassian+Documentation)
- [Developer resources](https://www.atlassian.com/developers)
- [Enterprise services](https://www.atlassian.com/enterprise/services)
- [See all resources](https://www.atlassian.com/resources)
Copyright © 2026 Atlassian
- [Privacy policy](https://www.atlassian.com/legal/privacy-policy)
- [Notice at Collection](https://www.atlassian.com/legal/privacy-policy#additional-disclosures-for-ca-residents)
- [Terms](https://www.atlassian.com/legal/cloud-terms-of-service)
- [Impressum](https://www.atlassian.com/legal/impressum)
Language selector
English
â–ľ |
| Readable Markdown | `git cherry-pick` is a powerful command that enables arbitrary Git commits to be picked by reference and appended to the current working HEAD. Cherry picking is the act of picking a commit from a branch and applying it to another. `git cherry-pick` can be useful for undoing changes. For example, say a commit is accidently made to the wrong branch. You can switch to the correct branch and cherry-pick the commit to where it should belong.
When to use git cherry pick
`git cherry-pick` is a useful tool but not always a best practice. Cherry picking can cause duplicate commits and many scenarios where cherry picking would work, traditional merges are preferred instead. With that said `git cherry-pick` is a handy tool for a few scenarios...
Team collaboration
Often times a team will find individual members working in or around the same code. Maybe a new product feature has a backend and frontend component. There may be some shared code between to two product sectors. Maybe the backend developer creates a data structure that the frontend will also need to utilize. The frontend developer could use `git cherry-pick` to pick the commit in which this hypothetical data structure was created. This pick would enable the frontend developer to continue progress on their side of the project.
Bug hotfixes
When a bug is discovered it is important to deliver a fix to end users as quickly as possible. For an example scenario,say a developer has started work on a new feature. During that new feature development they identify a pre-existing bug. The developer creates an explicit commit patching this bug. This new patch commit can be cherry-picked directly to the `main` branch to fix the bug before it effects more users.
Undoing changes and restoring lost commits
Sometimes a `feature` branch may go stale and not get merged into `main`. Sometimes a pull request might get closed without merging. Git never loses those commits and through commands like [git log](https://www.atlassian.com/git/tutorials/git-log) and [git reflog](https://www.atlassian.com/git/tutorials/rewriting-history/git-reflog) they can be found and cherry picked back to life.
How to use git cherry pick
To demonstrate how to use `git cherry-pick` let us assume we have a repository with the following branch state:
```
a - b - c - d Main
\
e - f - g Feature
```
`git cherry-pick` usage is straight forward and can be executed like:
```
git cherry-pick commitSha
```
In this example `commit`Sha is a commit reference. You can find a commit reference by using `git log`. In this example we have constructed lets say we wanted to use commit \`f\` in `main`. First we ensure that we are working on the `main` branch.
```
git checkout main
```
Then we execute the cherry-pick with the following command:
```
git cherry-pick f
```
Once executed our Git history will look like:
```
a - b - c - d - f Main
\
e - f - g Feature
```
The f commit has been successfully picked into the main branch
Examples of git cherry pick
`git cherry pick` can also be passed some execution options.
```
-edit
```
Passing the `-edit` option will cause git to prompt for a commit message before applying the cherry-pick operation
```
--no-commit
```
The `--no-commit` option will execute the cherry pick but instead of making a new commit it will move the contents of the target commit into the working directory of the current branch.
```
--signoff
```
The `--signoff` option will add a 'signoff' signature line to the end of the cherry-pick commit message
In addition to these helpful options `git cherry-pick` also accepts a variety of merge strategy options. Learn more about these options at the [git merge strategies](https://www.atlassian.com/git/tutorials/using-branches/merge-strategy) documentation.
Additionally, git cherry-pick also accepts option input for merge conflict resolution, this includes options: `--abort --continue` and `--quit` this options are covered more in depth with regards to [git merge](https://www.atlassian.com/git/tutorials/using-branches/git-merge) and [git rebase](https://www.atlassian.com/git/tutorials/rewriting-history/git-rebase).
Summary
Cherry picking is a powerful and convenient command that is incredibly useful in a few scenarios. Cherry picking should not be misused in place of [git merge](https://www.atlassian.com/git/tutorials/using-branches/git-merge) or [git rebase](https://www.atlassian.com/git/tutorials/rewriting-history/git-rebase). The [git log](https://www.atlassian.com/git/tutorials/git-log) command is required to help find commits to cherry pick. |
| Shard | 44 (laksa) |
| Root Hash | 11161217235333269644 |
| Unparsed URL | com,atlassian!www,/git/tutorials/cherry-pick s443 |