LogoLogo
  • Overview
    • Introduction
      • Git-Based Source Control
      • DeviceLink
    • System Requirements
    • Supported Vendors and Device Types
    • Glossary
  • Git-Based Source Control
    • Getting Started
      • Planning
      • Initial Setup
        • Migrations
    • Basic Tasks
      • Navigation
        • Home page
        • Exploring the Web App
        • Exploring the Desktop App
      • Configuration
        • Creating Repositories
        • Creating Templates
        • Cloning Repositories
      • Operations
        • Pulling
        • Committing
        • Pushing
        • Managing History
        • Binary & Large Files
    • Advanced Tasks
      • Branching
        • Branch Protections
      • Pull Requests & Code Review
        • Contributors
        • Reviewers
      • Merging
    • Additional Features
      • Topics
      • Issues
        • Milestones
        • Labels
        • References and Links
      • Wiki
      • Tags & Releases
      • Webhooks
      • Activity
    • Administration
      • Org Settings
      • User Management
        • External Identity Management (SSO + SCIM)
      • Teams & Permissions
        • Permissions by Account Type
      • Registration & Billing
      • Repo Settings
      • Desktop App Options
      • Profile and Settings
        • Notifications
        • Two-Factor Authentication (2FA)
    • Supported Vendors
      • ABB
      • Beckhoff
      • B&R Automation
      • CODESYS
      • Inductive
      • Lenze
      • Rockwell
        • RSLogix 500
        • RSLogix 5000
        • Studio 5000 Logix Designer
      • Schneider
        • Control Expert
        • Machine Expert
      • Siemens
        • Siemens Step7 TIA Portal
        • Siemens Step7 5.x
      • WAGO
    • Integrations
      • Discord
      • Jira
      • Microsoft Teams Connectors
      • Slack
      • Zapier
      • Microsoft Teams Workflows
  • DeviceLink
    • Getting Started
      • Architecture
      • Planning & Installation
    • Sites and Agents
      • Sites
        • Site Settings
        • File Lists
        • Graphs and Metrics
      • Agents
        • Creating a Site-Based Agent
        • Creating a Multi-Site Agent
    • Projects and Devices
    • Vendor Configuration
      • Beckhoff TwinCAT 3
      • CODESYS v3
      • Copia FTP
      • Copia sFTP/SCP
      • Copia Scripting
      • FANUC Robots
      • Rockwell RSLogix 500
        • Smart Filter
      • Rockwell Studio/RSLogix 5000
        • Smart Filter
      • Rockwell PanelView ME HMI
      • Schneider Control Expert
      • Siemens Step7 TIA Portal
      • Siemens Step7 5.x
    • Jobs
      • Job Navigation
      • Creating Jobs
      • Managing Jobs and History
      • Manual Backups
      • Pull Requests
    • Additional Features
      • Webhooks
      • Copia Import Tool
        • Getting Started
        • Preparing your data
        • Importing your data
        • Rolling back a prior import
    • Administration
      • Teams
      • Permissions
      • Notifications
  • Copilot
    • Copia Copilot
    • Getting Started
    • Using Copia Copilot
  • Copilot FAQ
  • Support
    • Best Practices
    • FAQs
      • Git-Based Source Control
        • Troubleshooting
      • DeviceLink
        • Troubleshooting
Powered by GitBook
On this page
  • Overview
  • Creating a Template from a Repository
  • Creating a Repository from a Template
  • Assigning a Template to a New Repository
  • Creating a Repository from a Template Repository
  • Managing Templates

Was this helpful?

  1. Git-Based Source Control
  2. Basic Tasks
  3. Configuration

Creating Templates

PreviousCreating RepositoriesNextCloning Repositories

Last updated 2 years ago

Was this helpful?

Overview

Existing repositories can serve as templates for future repositories. Anyone who has at least Read permissions for a repository template can clone that repository and use it as the base for a new repository.

Suppose your organization creates machines for customers. You could create a repository for your base program and establish it as a template. For each new customer, you could create a new repository based off of the original template and then add modifications accordingly.

If you update a repository template, other repositories that have that template as their base code will not automatically bring in those updates. You would need to manually update each repository using that specific template as base code.

Creating a Template from a Repository

If you have a repository that you want to use as a base to create future repositories, you'll need to set it as a template.

Navigate to your repository and click on the Settings tab.

Under the Repository tab, find and enable the Make Repository a Template option. Click the Update Settings button to set the repository as a template.

When creating a template, information on collaborators and branches are not copied over. However, the teams from the original repository are included in the template.

Creating a Repository from a Template

There are two ways to create a new repository from an existing template. You can either start by creating your new repository and assigning a preexisting template to it, or you can navigate to a template repository and use it to create a new repository.

Assigning a Template to a New Repository

Complete the form by providing a Repository Name and Description. Clicking on the Template dropdown will reveal a list of existing templates. Select the template you wish to use.

Press the Create Repository button to finish setup.

Creating a Repository from a Template Repository

Navigate to the repository that contains your template. Select the Use This Template button to create a new repository.

Complete the form by providing a Repository Name and Description. You'll note that whatever template you started from will be automatically applied to the Template dropdown.

Press the Create Repository button to finish setup.

Managing Templates

Repositories that have been set as templates will display a unique template icon in file view.

This same icon will prepend all repository names on the dashboard and desktop app.

Create a new repository as you normally would by performing the operation in the section.

Creating Repositories