magpie icon indicating copy to clipboard operation
magpie copied to clipboard

.gitignore in notes repo

Open rmiceli opened this issue 11 years ago • 7 comments
trafficstars

I added a .gitignore to my notes repo and now it shows up as a notebook tab in magpie 0.1.0 (see attached image).

Also, it might be a good feature for magpie to also ignore notebooks in the gitignore file. For example, hide my "archive" notebook if I have it in .gitignore. Thanks.

magpie

rmiceli avatar Aug 15 '14 13:08 rmiceli

That's an interesting bug, and a great feature idea!

Thanks for the report. I'll try to fix it soon.

charlesthomas avatar Aug 15 '14 18:08 charlesthomas

:+1:

Erwyn avatar Aug 15 '14 18:08 Erwyn

Maybe it would be adequate to just not show any hidden files or directories, instead of relying on .gitignore.

thornbill avatar Aug 15 '14 18:08 thornbill

@billt2006 how would you handle the differences between windows and nix hidden folders?

tony-o avatar Feb 05 '15 00:02 tony-o

Does Git for Windows use dotfiles? Maybe it would be good enough to just ignore any file/directory starting with "." for this.

thornbill avatar Feb 06 '15 03:02 thornbill

@billt2006 windows git uses a .git directory same as nix if that's what you're asking.

tony-o avatar Feb 10 '15 23:02 tony-o

#64 seems to address the issue so I'm not going to work on it any further

tony-o avatar Feb 10 '15 23:02 tony-o