marcolardera / chatgpt-cli

Simple yet effective command line client for chatting with ChatGPT using the official API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Git ignore file seems overly broad

mk-pmb opened this issue · comments

commented

Hi! We should make all the file patterns in .gitignore start with a slash, in order to make it predictable where they match. Example:

$ mkdir yolo
$ mkdir yolo/cover
$ touch yolo/cover/ohno
$ git status yolo/
On branch implement-yolo
nothing to commit, working tree clean

… which may cause accidential data loss in the ohno file. (Because the cover/ ignore rule matches in all subdirectories.)

The .history line should have a comment that describes it saves the prompt history, without replies.