Share Git folder macro

The Share Git folder macro allows you to add a Git folder to the content of a Confluence page. The content of the macro will be kept up-to-date with the Git repository.

Adding the macro

Insert the "Share Git folder" macro by typing: /Share Git folder:

Using the macro

Copy the URL from the folder of your Git provider, paste it into the field and fetch the folder:

This will generate a preview and allow you to edit the display options.

Note that it is possible to increase the size for a full preview:

Sharing root folder

Sharing a root folder is not always possible by copying and pasting the default URL for multiple Git providers. We've added a detailed description on how to include root folders for each of the Git providers on the troubleshooting page.

Last updated