Git for Confluence Cloud
  • Git for Confluence Cloud
  • Release notes
    • August 6th, 2024
    • June 5 2024
    • June 7th, 2023
    • March 14th, 2023
    • October 20th, 2022
    • October 3rd, 2022
    • August 30, 2022
    • August 8th, 2022
    • July 25th, 2022
    • July 20th, 2022
    • June 30th, 2022
  • Installation
    • Installation
  • Git Support
    • Git providers
    • Filetypes
    • Demo Confluence pages
    • Demo videos
  • How to use the app
    • Share Git file macro
    • Share Git folder macro
    • Authorization
    • Shared Git files overview
    • Troubleshooting
  • Administration
    • Authentication methods
    • Migration of consent
    • User management
    • Audit log
  • Example use cases
    • Software architecture document
    • Public documentation
  • Security
    • F.A.Q.
    • OAuth scopes and API endpoints
      • Github OAuth scopes
      • Bitbucket OAuth scopes
      • Gitlab OAuth scopes
      • Azure DevOps OAuth scopes
    • Access token scopes and API endpoints
      • Github access token scopes
      • Bitbucket access token scopes
      • Gitlab access token scopes
      • Azure DevOps access token scopes
  • Relevant Links
    • Pricing
    • Privacy & Security
    • Marketplace
    • Support
    • Visualizer for Confluence
Powered by GitBook
On this page
  • Adding the macro
  • Using the macro
  • Sharing root folder
  1. How to use the app

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.

PreviousShare Git file macroNextAuthorization

Last updated 1 year ago

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 page.

troubleshooting
Adding the Share Git folder macro
Fetch a folder
Preview and display options
Full preview