Commit graph

10 commits

Author SHA1 Message Date
kdergachev b450b36036
Added edit/remove functionality to git-ignore (#1258)
* Added edit/remove functionality to git-ignore.

* Minor change to array-string assignment.

* Fixes array handling for remove.

* Suggested fixes (iteration over arguments, pattern removal, editor handling, tmp file location, symlinked gitignore handling).

* Changed pure bash editing of files to an awk script. Some other minor cosmetic changes.

* Updated docs.

* Modified autocomplete to work with new git-ignore

* Added help message to git-ignore.

* Added help flags to git-ignore's man.

* Made $file in eval safe. Should not do the same for editor since then all of the GIT_EDITOR will be treated as command (flags included).

* Typo fixes.
2026-07-14 19:42:02 +08:00
Richard Russon 0f76863d9b add: git-ignore -p (private to repo) 2018-05-23 23:59:21 +01:00
Ye Lin Aung f0a8b9e17e Spelling fixes for the roon file and html files 2016-10-15 22:46:04 +08:00
Ye Lin Aung 3ae8d22637 Spelling fixes
Fixed some spellings under man
2016-10-15 22:22:21 +08:00
spacewander 76e0dfef97 replace visionmedia/git-extras to tj/git-extras
Although Github reserves the 'visionmedia' user space(a visit to there
will be redirected to 'tj'), it's better to
rename the links from visionmedia/git-extras to tj/git-extras
2014-11-06 17:12:01 +08:00
Moritz Grauel 5708c4f359 Small typo correction
There was a small typo in the git-ignore man-page that is fixed by this commit
2013-08-15 12:31:22 +02:00
Tom Vincent 17cc7b0e57 Replace http with https for man Github urls 2012-09-25 14:13:53 +08:00
nickl- c749fdc54f Complete git-ignore includes global.
Did a rebase merge from the old pull request #46 which we may close now.
Yet it wasn't as simple as that in the end but all things have a resolve:
Added 2 context type arguments to specify --local or --global.
Refactored usage into functions te prevent duplication.
Capable to view and append to both global gitignore as well as the .gitignore from the working folder.
Supports all types of ignore patters including ! negated, comments as well as blank lines.
Complete documentation including several examples.
2012-07-22 22:27:37 +02:00
Tj Holowaychuk 9e5b89842b Added git-extras, removed git-extras-version and git-extras-update 2011-03-27 09:01:40 -07:00
Tj Holowaychuk 1233825519 Renamed man pages to *.md 2010-10-31 11:41:30 -07:00
Renamed from man/git-ignore.1.ronn (Browse further)