Title: Display Git Status
Author: WP Git Updater
Published: <strong>18 de desembre de 2020</strong>
Last modified: 22 de desembre de 2020

---

Cerca extensions

![](https://ps.w.org/display-git-status/assets/banner-772x250.jpg?rev=2442622)

Aquesta extensió **no s’ha provat en les darreres 3 versions majors del WordPress**.
Segurament no està mantinguda o suportada, i pot tenir problemes de compatibilitat
quan s’usa en versions recents del WordPress.

![](https://ps.w.org/display-git-status/assets/icon-256x256.jpg?rev=2442622)

# Display Git Status

 Per [WP Git Updater](https://profiles.wordpress.org/wpgitupdater/)

[Baixa](https://downloads.wordpress.org/plugin/display-git-status.1.0.1.zip)

 * [Detalls](https://ca.wordpress.org/plugins/display-git-status/#description)
 * [Ressenyes](https://ca.wordpress.org/plugins/display-git-status/#reviews)
 * [Desenvolupament](https://ca.wordpress.org/plugins/display-git-status/#developers)

 [Suport](https://wordpress.org/support/plugin/display-git-status/)

## Descripció

Display Git Status is a pretty simple plugin, all it needs is access to the `shell_exec`
function and to be pointed at a git repository.

The plugin will not perform any state altering operations, it accesses the repository
using read only methods to fetch information like branch name, last commit and status.

When the git repository is located (defaulting to `wp-content`, or overwritten via
a setting) the plugin will add a new admin bar item with the git icon and the current
branch name.

When your site has untracked changes the menu items background will turn red.

This is ideal as it gives you a small marker directly in the admin area that some
changes have been made which you probably need to look into.

Additionally when accessing the plugins admin page you can see the result of the`
git status` command, and the last commit applied to your site.

## Captures

[⌊Display Git Status settings page, here you can set the repository location, additionally
the git status and last commit information.⌉⌊Display Git Status settings page, here
you can set the repository location, additionally the git status and last commit
information.⌉[

Display Git Status settings page, here you can set the repository location, additionally
the git status and last commit information.

[⌊When your site and repository and are in sync you can see the branch name in the
admin bar.⌉⌊When your site and repository and are in sync you can see the branch
name in the admin bar.⌉[

When your site and repository and are in sync you can see the branch name in the
admin bar.

[⌊And when your site and repository are divergent the admin bar items background
changes to red, alerting you of a problem.⌉⌊And when your site and repository are
divergent the admin bar items background changes to red, alerting you of a problem
.⌉[

And when your site and repository are divergent the admin bar items background changes
to red, alerting you of a problem.

## PMF

### What repositories can it track?

The plugin can read from any git repository, it performs on basic git commands. 
All you need to do is ensure your web user can access the git repository, and that
the `shell_exec` function is enabled.

Additionally it doesnt have to the root or wp-content folder. The plugin can read
and display information for any repository it has access to on the filesystem.

### Does it commit changes?

No this plugin only reads your git repositories status. There are no plans to make
this anything more.

### What permissions are required?

Anyone with the `manage_options` permissions can see/edit the git status admin page.

## Ressenyes

![](https://secure.gravatar.com/avatar/78b2e5f2497fc6bab5ff84c1dc4520c4f7108a3e70b6c159c323d4513e7af620?
s=60&d=retro&r=g)

### 󠀁[Finally! Really glad someone has done this properly.](https://wordpress.org/support/topic/finally-really-glad-someone-has-done-this-properly/)󠁿

 [Richard Fisher](https://profiles.wordpress.org/richie8410/) 19 de desembre de 
2020

I’ve been looking for a plugin to do just this for ages! I’m so glad someone’s finally
built one that works. Great job guys.

![](https://secure.gravatar.com/avatar/0ed60d84fb1b231af96a53f76cdbda0da087ec45bdd1f745ef99b3dfd048a919?
s=60&d=retro&r=g)

### 󠀁[Great plugin for a great service](https://wordpress.org/support/topic/great-plugin-for-a-great-service-2/)󠁿

 [pauleaton](https://profiles.wordpress.org/pauleaton/) 18 de desembre de 2020

If you’re looking to automate your source controlled WordPress websites then this
plugin and service is for you.

 [ Llegiu totes les 2 ressenyes ](https://wordpress.org/support/plugin/display-git-status/reviews/)

## Col·laboradors i desenvolupadors

«Display Git Status» és programari de codi obert. La següent gent ha col·laborat
en aquesta extensió.

Col·laboradors

 *   [ WP Git Updater ](https://profiles.wordpress.org/wpgitupdater/)

[Traduïu «Display Git Status» a la vostra llengua.](https://translate.wordpress.org/projects/wp-plugins/display-git-status)

### Interessats en el desenvolupament?

[Navegueu pel codi](https://plugins.trac.wordpress.org/browser/display-git-status/),
baixeu-vos el [repositori SVN](https://plugins.svn.wordpress.org/display-git-status/),
o subscriviu-vos al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/display-git-status/)
per [fisl de subscripció RSS](https://plugins.trac.wordpress.org/log/display-git-status/?limit=100&mode=stop_on_copy&format=rss).

## Registre de canvis

#### 1.0.1

 * Fix Command and XXS inject, props to @xrzhev

#### 1.0.0

 * Initial Release

## Meta

 *  Versió **1.0.1**
 *  Darrera actualització **fa 6 anys**
 *  Instal·lacions actives **10+**
 *  Versió del WordPress ** 5.0 o posterior **
 *  Provada fins a **5.6.19**
 *  Versió del PHP ** 7.2 o posterior **
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/display-git-status/)
 * Etiqueta
 * [git](https://ca.wordpress.org/plugins/tags/git/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/display-git-status/advanced/)

## Valoracions

 5 sobre 5 estrelles.

 *  [  2 valoracions de 5 estrelles     ](https://wordpress.org/support/plugin/display-git-status/reviews/?filter=5)
 *  [  0 valoracions de 4 estrelles     ](https://wordpress.org/support/plugin/display-git-status/reviews/?filter=4)
 *  [  0 valoracions de 3 estrelles     ](https://wordpress.org/support/plugin/display-git-status/reviews/?filter=3)
 *  [  0 valoracions de 2 estrelles     ](https://wordpress.org/support/plugin/display-git-status/reviews/?filter=2)
 *  [  0 valoracions de 1 estrelles     ](https://wordpress.org/support/plugin/display-git-status/reviews/?filter=1)

[La vostra ressenya](https://wordpress.org/support/plugin/display-git-status/reviews/#new-post)

[Visualitza totes les ressenyes](https://wordpress.org/support/plugin/display-git-status/reviews/)

## Col·laboradors

 *   [ WP Git Updater ](https://profiles.wordpress.org/wpgitupdater/)

## Suport

Teniu quelcom a dir? Necessiteu ajuda?

 [Visualitza els fòrums de suport](https://wordpress.org/support/plugin/display-git-status/)