mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-03-28 21:16:20 +01:00
tools: update script references to 'main' branch
This commit is contained in:
parent
a66723d2c5
commit
7d1e2e24ef
2 changed files with 3 additions and 3 deletions
4
.github/PULL_REQUEST_TEMPLATE.md
vendored
4
.github/PULL_REQUEST_TEMPLATE.md
vendored
|
@ -5,6 +5,6 @@
|
|||
- [ ] The page (if new), does not already exist in the repo.
|
||||
- [ ] The page is in the correct platform directory (`common/`, `linux/`, etc.)
|
||||
- [ ] The page has 8 or fewer examples.
|
||||
- [ ] The PR title conforms to the recommended [templates](/tldr-pages/tldr/blob/master/CONTRIBUTING.md#commit-message).
|
||||
- [ ] The page follows the [content guidelines](/tldr-pages/tldr/blob/master/CONTRIBUTING.md#guidelines).
|
||||
- [ ] The PR title conforms to the recommended [templates](/tldr-pages/tldr/blob/main/CONTRIBUTING.md#commit-message).
|
||||
- [ ] The page follows the [content guidelines](/tldr-pages/tldr/blob/main/CONTRIBUTING.md#guidelines).
|
||||
- [ ] The page description includes a link to documentation or a homepage (if applicable).
|
||||
|
|
|
@ -49,7 +49,7 @@ function check_diff {
|
|||
local line
|
||||
local entry
|
||||
|
||||
git_diff=$(git diff --name-status --find-copies-harder --diff-filter=AC --relative=pages/ remotes/origin/master)
|
||||
git_diff=$(git diff --name-status --find-copies-harder --diff-filter=AC --relative=pages/ remotes/origin/main)
|
||||
|
||||
if [ -n "$git_diff" ]; then
|
||||
echo -e "Check PR: git diff:\n$git_diff" >&2
|
||||
|
|
Loading…
Add table
Reference in a new issue