Skip to content

A painless Git setup with an easy way to share Git configs and scripts within a company using GitHub Enterprise.

License

Notifications You must be signed in to change notification settings

ballab1/enterprise-config-for-git

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Enterprise Config for Git

A painless Git setup with an easy way to share Git configs and scripts within a company using GitHub Enterprise or any similar on-premise Git hosting service.

Enterprise Config for Git adds a new Git setup command (e.g. git mycompany) to your Git config (via Git config alias) that configures a developer machine. The setup command checks the installed Git version, ensures Git LFS is installed properly, configures the user name and email based on the GitHub Enterprise profile, and configures the Git credential helper with a GitHub Enterprise token. It also adds an easy way to distribute company Git configs (e.g. Git push protection) and Git helper scripts (e.g. git emc clone).

Enterprise Config for Git supports Windows, Mac and Linux and a great number of shells such as BASH, ZSH, DASH, cmd.exe, and PowerShell.

Please find more details about Enterprise Config for Git in the corresponding Git Merge 2016 talk (slides).

Getting Started

In order to use Enterprise Config for Git you need to fork it to your GitHub Enterprise instance (ensure that every engineer has read access) and adjust it for your company:

Install Enterprise Config

Extend Enterprise Config

Any Git config you define in config.include will be distributed to all your engineers with the setup command. Plus you can add shell scripts to the root directory of Enterprise Config for Git that are available to all engineers via the setup command (see the clone.sh implementation as example for git emc clone)

Need Help?

Enterprise Config for Git is a fairly new project and not very mature at this point. In case of trouble or questions please create a GitHub issue and we will try to get back to you ASAP.

License

Apache License 2.0

About

A painless Git setup with an easy way to share Git configs and scripts within a company using GitHub Enterprise.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 85.3%
  • PowerShell 7.0%
  • Perl 5.8%
  • Batchfile 1.9%