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

Feature Request: Add to .gitignore #228

Open
chenboshuo opened this issue Jun 8, 2022 · 0 comments
Open

Feature Request: Add to .gitignore #228

chenboshuo opened this issue Jun 8, 2022 · 0 comments

Comments

@chenboshuo
Copy link

I think we run

peru reup 

we can search the .gitignore mark

# peru files

and add items to them.

For instance,
if I have the peru.yaml file like:

imports:
  my_silde: notes/

git module my_silde:
  url: git@github.com:chenboshuo/myslide_template.git
  pick: [makefile,myslide.cls]
  rev: cf178c930b5702230fb2dc953873aa202d404aa6

And we setting the setting items in peru.yaml:

settings:
  auto-ignore: true

and I have .gitignore like:

# peru
**/.peru

# peru files

after my run peru reup,
the .gitignore become:

# peru
**/.peru

# peru files
+++ notes/makefile
+++ notes/myslide.cls

Thank you for your attention.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant