Skip to content

Commit

Permalink
moving hotfix page
Browse files Browse the repository at this point in the history
  • Loading branch information
stevector committed Jan 22, 2025
1 parent 2f6365b commit c534ead
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
2 changes: 2 additions & 0 deletions source/content/guides/git/08-troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ This section provides solutions to common Git troubleshooting scenarios.

### Reduce Large Repositories



Repositories that exceed 2GB may experience failures or degraded performance when interacting with code via Git on Pantheon. We recommend that you reduce the repository size by removing objects that are no longer referenced. You can output the size of your repository by running [`git count-objects -vH`](https://git-scm.com/docs/git-count-objects) or `du -sh .git/` from within the root directory of your site's codebase.

We recommend that you use [git filter-repo](https://github.com/newren/git-filter-repo/) to reduce the size of your repository.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,23 @@
---
title: Hotfixes
description: Learn how to deploy and test hot fixes and preserve orphan commits on your Pantheon Drupal or WordPress site.
title: Git on Pantheon Guide
subtitle: Hotfixing with Git Tags
description: Get solutions to common Git troubleshooting scenarios.
tags: [code, collaborate, git, webops, workflow]
contenttype: [doc]
innav: [true]

showtoc: true
permalink: docs/guides/git/hotfixes
contenttype: [guide]
innav: [false]
categories: [git]
cms: [drupal, wordpress]
audience: [development]
product: [--]
integration: [--]
integration: [git]
---
For Experts only. You should not need to attempt this if you use [Multidev](/guides/multidev) and keep commits from reaching Dev that you do not intend on deploying.



<Alert title="Warning" type="danger">

We do not recommend hotfixing. Hotfixes should be the exception, not the norm. Pushing a hotfix via Git is the only way to push code directly to Live without having to go through Dev and Test. Hotfixing is not a best practice and any damage to the source code will be the responsibility of the user, and should be avoided whenever possible.
Expand Down
2 changes: 0 additions & 2 deletions src/components/omniSidebarNav/submenus/workflows.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ const workflows = () => {
getGuideDirectory('guides/environment-configuration'),
simpleLink('/connection-modes', 'Connection Modes'),
getGuideDirectory('guides/sftp', 'SFTP'),
//Todo: relocate hotfixes into git guide
getGuideDirectory('guides/git', 'Git'),
simpleLink('/hotfixes', 'Hotfixes'),
simpleLink('/core-updates', 'Core Updates'),
simpleLink('/workflow-logs', 'Workflow Logs'),
simpleLink('/content-staging', 'Content Staging'),
Expand Down

0 comments on commit c534ead

Please sign in to comment.