aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/config_git.org
blob: a76f0e826ed7b2dfd06fa25968e9d85f930cdebb (plain)
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
-*- mode: org -*-
#+TITLE:       configuration git
#+DESCRIPTION: documents - structuring, various output representations & search
#+FILETAGS:    :spine:hub:
#+AUTHOR:      Ralph Amissah
#+EMAIL:       [[mailto:ralph.amissah@gmail.com][ralph.amissah@gmail.com]]
#+COPYRIGHT:   Copyright (C) 2015 - 2023 Ralph Amissah
#+LANGUAGE:    en
#+STARTUP:     content hideblocks hidestars noindent entitiespretty
#+PROPERTY:    header-args  :exports code
#+PROPERTY:    header-args+ :noweb yes
#+PROPERTY:    header-args+ :results no
#+PROPERTY:    header-args+ :cache no
#+PROPERTY:    header-args+ :padline no
#+PROPERTY:    header-args+ :mkdirp yes
#+OPTIONS:     H:3 num:nil toc:t \n:t ::t |:t ^:nil -:t f:t *:t

* git - spine markup samples
** .gitignore :gitignore:

#+HEADER: :tangle "../.gitignore"
#+BEGIN_SRC sh
# git ls-files --others --exclude-from=.git/info/exclude
# git check-ignore -v flake.lock
# git clean -ix
# find . -name "*_" | xargs rm -rf
# find . -name "*.o" | xargs rm -rf
,*
!.gitignore
!.gitattributes
!nix/**
!*.nix
!flake.lock
!.envrc
!.envrc-local
!.envrc-local_
!.envrc-nix
!.env
!.env/**
!README
!COPYRIGHT
!CHANGELOG
!makefile
!version.txt
!configuration.txt
!*.json
!*.sdl
!tangle
!*.org
!org
!org/*.org
!.dr
!.dr/*
!markup/
!markup/pod/
!markup/pod/*/
!markup/pod/*/pod.manifest
!markup/pod/*/conf/
!markup/pod/*/conf/sisu_document_make
!markup/pod/*/media/
!markup/pod/*/media/text/
!markup/pod/*/media/text/*/
!markup/pod/*/media/text/*/*.sst
!markup/pod/*/media/text/*/*.ssm
!markup/pod/*/media/text/*/*.ssi
!markup/pod/*/media/image/
!markup/pod/*/media/image/*.png
!markup/pod/*/media/image/*.jpg
!markup/pod/*/media/image/*.PNG
!markup/pod/*/media/image/*.JPG
!markup/pod/*/tools/
!markup/pod/*/tools/po4a/
!markup/pod/*/tools/po4a/pot/
!markup/pod/*/tools/po4a/pot/*.sst.pot
!markup/pod/*/tools/po4a/pot/*.ssm.pot
!markup/pod/*/tools/po4a/pot/*.ssi.pot
!markup/pod/*/tools/po4a/po/
!markup/pod/*/tools/po4a/po/*/
!markup/pod/*/tools/po4a/po/*/*.sst.po
!markup/pod/*/tools/po4a/po/*/*.ssm.po
!markup/pod/*/tools/po4a/po/*/*.ssi.po
!spine-bespoke-output
!spine-bespoke-output/**
.dub/**
,**/.dub/**
tmp/**
,*_.org
,*_.nix
,*_.d
,*_.txt
,*_
,*.swp
,*~
\#*
,*.\#*
!.envrc-local_
#!*/
#\#*
#*.\#*
#.reggae/**
#+END_SRC

** .gitattributes :gitattributes:

#+HEADER: :tangle "../.gitattributes"
#+BEGIN_SRC sh
/org export-ignore
.gitattributes export-ignore
/.dub export-ignore
/.direnv export-ignore
/*_ export-ignore
,*_ export-ignore
#.gitignore export-ignore
tangle export-ignore
flake.lock export-ignore
#+END_SRC