Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

.gitconfig 1.2 KB

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
  1. # You need to enable this configuration once after checking out the repo
  2. # for the first time (assuming you checked it out into fastai dir):
  3. #
  4. # cd fastai
  5. # git config --local include.path ../.gitconfig
  6. #
  7. # If you need to disable this instrumentation do:
  8. #
  9. # git config --local --unset include.path
  10. #
  11. # You can always check .git/config to see whether a ../.gitconfig
  12. # [include] entry is there or not.
  13. #
  14. # If tools/fastai-nbstripout is modified to produce a different output,
  15. # manually rerun all the notebooks under git:
  16. #
  17. # tools/fastai-nbstripout dev_nb/*ipynb dev_nb/experiments/*ipynb
  18. # tools/fastai-nbstripout -d docs/*ipynb docs/*/*ipynb
  19. # # disable the strip out filter to get git to see changes
  20. # git config --local --unset include.path
  21. # git commit -a
  22. # git push
  23. # # restore the filter
  24. # git config --local include.path ../.gitconfig
  25. #
  26. # code notebooks strip out
  27. [filter "fastai-nbstripout-code"]
  28. clean = tools/fastai-nbstripout
  29. smudge = cat
  30. required = true
  31. [diff "ipynb-code"]
  32. textconv = tools/fastai-nbstripout -t
  33. # docs notebooks strip out
  34. [filter "fastai-nbstripout-docs"]
  35. clean = tools/fastai-nbstripout -d
  36. smudge = cat
  37. required = true
  38. [diff "ipynb-docs"]
  39. textconv = tools/fastai-nbstripout -dt
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...