Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update gitignore.io urls to Toptal urls #1025

Merged
merged 3 commits into from
Jan 27, 2023
Merged
Show file tree
Hide file tree
Changes from all 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
4 changes: 2 additions & 2 deletions Commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -693,14 +693,14 @@ build

## git ignore-io

Generate sample gitignore file from [gitignore.io](https://www.gitignore.io)
Generate sample gitignore file from [gitignore.io](https://www.toptal.com/developers/gitignore)

Without option, `git ignore-io <type>` shows the sample gitignore of specified types on screen.

```bash
$ git ignore-io vim

# Created by https://www.gitignore.io/api/vim
# Created by https://www.toptal.com/developers/gitignore/api/vim

### Vim ###
[._]*.s[a-w][a-z]
Expand Down
2 changes: 1 addition & 1 deletion bin/git-ignore-io
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

gitignore_io_url="https://www.gitignore.io/api/"
gitignore_io_url="https://www.toptal.com/developers/gitignore/api/"
default_path="$HOME/.gi_list"
if [[ -n "$XDG_CACHE_HOME" ]]; then
default_path="$XDG_CACHE_HOME/git-extras/gi_list"
Expand Down
10 changes: 5 additions & 5 deletions man/git-ignore-io.1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
.TH "GIT\-IGNORE\-IO" "1" "October 2017" "" "Git Extras"
.TH "GIT\-IGNORE\-IO" "1" "January 2023" "" "Git Extras"
.
.SH "NAME"
\fBgit\-ignore\-io\fR \- Get sample gitignore file
Expand All @@ -10,7 +10,7 @@
\fBgit ignore\-io\fR [<OPTIONS>]
.
.SH "DESCRIPTION"
Get sample gitignore file from gitignore\.io \fIhttps://www\.gitignore\.io\fR
Get sample gitignore file from gitignore\.io \fIhttps://www\.toptal\.com/developers/gitignore/\fR
.
.SH "OPTIONS"
<OPTIONS>
Expand Down Expand Up @@ -66,7 +66,7 @@ Show sample gitignore file for vim

$ git ignore\-io vim

# Created by https://www\.gitignore\.io/api/vim
# Created by https://www\.toptal\.com/developers/gitignore/api/vim

### Vim ###
[\._]*\.s[a\-w][a\-z]
Expand All @@ -81,7 +81,7 @@ $ git ignore\-io vim
.IP "" 0
.
.P
Append sample gitignore for vim and python to \.gitignore in current directory\.
Append sample gitignore for Vim and Python to \.gitignore in current directory\.
.
.IP "" 4
.
Expand Down Expand Up @@ -131,7 +131,7 @@ $ git ignore\-io \-s ja
.IP "" 0
.
.SH "AUTHOR"
Written by Lee\-W \fIcl87654321@gmail\.com\fR
Written by Lee\-W \fIweilee\.rx@gmail\.com\fR
.
.SH "REPORTING BUGS"
<\fIhttps://github\.com/tj/git\-extras/issues\fR>
Expand Down
10 changes: 5 additions & 5 deletions man/git-ignore-io.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions man/git-ignore-io.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ git-ignore-io(1) -- Get sample gitignore file

## DESCRIPTION

Get sample gitignore file from [gitignore.io](https://www.gitignore.io)
Get sample gitignore file from [gitignore.io](https://www.toptal.com/developers/gitignore/)

## OPTIONS

Expand Down Expand Up @@ -41,7 +41,7 @@ Show sample gitignore file for vim
```bash
$ git ignore-io vim

# Created by https://www.gitignore.io/api/vim
# Created by https://www.toptal.com/developers/gitignore/api/vim

### Vim ###
[._]*.s[a-w][a-z]
Expand Down Expand Up @@ -84,7 +84,8 @@ $ git ignore-io -s ja

## AUTHOR

Written by Lee-W <[email protected]>
Written by Lee-W <[email protected]>

## REPORTING BUGS

&lt;<https://github.com/tj/git-extras/issues>&gt;
Expand Down