Skip to content
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitconfig.example
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ====================================================================
# Global Git Configuration
# Global Git Configuration File
Comment thread
tonystar marked this conversation as resolved.
Outdated
#
# To use this example:
# 1. Save this file as ~/.gitconfig (most common location)
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/code-embedder.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Update README with Config Files

on:
push:
paths:
- '.gitconfig.example'
- '.gitconfig-github'
- '.gitconfig-gitlab'
- 'README.md'
- '.github/workflows/code-embedder.yml'

jobs:
code-embedder:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4

- uses: kvankova/code-embedder@v1.1.3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31 changes: 0 additions & 31 deletions .github/workflows/update-readme.yml

This file was deleted.

29 changes: 10 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,11 @@ You'll need the following configuration files. Replace all `PLACE_HOLDER` values

<!-- _The most up-to-date config version is now here: https://github.com/anydigital/git-commit-email-privacy_ -->

### `.gitconfig` (Global Git Configuration)
### `.gitconfig`

<!-- GITCONFIG_EXAMPLE_START -->

```ini
```ini:.gitconfig.example
# ====================================================================
# Global Git Configuration
# Global Git Configuration File
#
# To use this example:
# 1. Save this file as ~/.gitconfig (most common location)
Expand All @@ -55,15 +53,12 @@ You'll need the following configuration files. Replace all `PLACE_HOLDER` values

[includeIf "hasconfig:remote.*.url:**/*gitlab.com/**"]
path = .gitconfig-gitlab
```

<!-- GITCONFIG_EXAMPLE_END -->

### `.gitconfig-github` (GitHub-Specific Configuration)
```

<!-- GITCONFIG_GITHUB_START -->
### `.gitconfig-github`

```ini
```ini:.gitconfig-github
# ====================================================================
# GitHub-specific Git configuration
#
Expand All @@ -74,15 +69,12 @@ You'll need the following configuration files. Replace all `PLACE_HOLDER` values

[user]
email = YOUR_GITHUB_ID+USERNAME@users.noreply.github.com
```

<!-- GITCONFIG_GITHUB_END -->

### `.gitconfig-gitlab` (GitLab-Specific Configuration)
```

<!-- GITCONFIG_GITLAB_START -->
### `.gitconfig-gitlab`

```ini
```ini:.gitconfig-gitlab
# ====================================================================
# GitLab-specific Git configuration
#
Expand All @@ -93,9 +85,8 @@ You'll need the following configuration files. Replace all `PLACE_HOLDER` values

[user]
email = YOUR_GITLAB_ID-USERNAME@users.noreply.gitlab.com
```

<!-- GITCONFIG_GITLAB_END -->
```

## How to Verify

Expand Down
29 changes: 0 additions & 29 deletions scripts/update-readme.py

This file was deleted.