Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/spenserblack/gh-gitattributes
Copy gitatattributes from an (unofficial) source
https://github.com/spenserblack/gh-gitattributes
gh-extension gitattributes
Last synced: 21 days ago
JSON representation
Copy gitatattributes from an (unofficial) source
- Host: GitHub
- URL: https://github.com/spenserblack/gh-gitattributes
- Owner: spenserblack
- License: mit
- Created: 2023-07-17T14:31:55.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-08T02:06:02.000Z (9 months ago)
- Last Synced: 2024-12-16T19:39:53.063Z (22 days ago)
- Topics: gh-extension, gitattributes
- Language: Go
- Homepage:
- Size: 52.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `gh gitattributes`
[![CI](https://github.com/spenserblack/gh-gitattributes/actions/workflows/ci.yml/badge.svg)](https://github.com/spenserblack/gh-gitattributes/actions/workflows/ci.yml)
[![codecov](https://codecov.io/gh/spenserblack/gh-gitattributes/branch/main/graph/badge.svg?token=xYXvCen5Un)](https://codecov.io/gh/spenserblack/gh-gitattributes)Copy `.gitattributes` from an (unofficial) source.
## Description
This pulls a list of files with the `.gitattributes` extension (`FOO.gitattributes`)
and builds a list to prompt you to pick the file you want. If `Common.gitattributes` is
found, you will also be asked if you want to include them.### CLI
- `-source`: Specify the source repository
- `-stdout`: Write to STDOUT instead of `./.gitattributes`### Configuration
The configuration values can be set with `gh config set KEY`.
- `gh_gitattributes_source`: The default source repository to use
## Installation
```shell
gh extension install spenserblack/gh-gitattributes
```