aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/config_git.org
blob: 44206417bc7a445e6dd806d311ce04145835f923 (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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
-*- 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 - 2025 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 gitignore
# 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
!nixDevEnv.sh
!.envrc
!.envrc-local
!.envrc-nix
!.envrc-git-init
!README.md
!README
!COPYRIGHT
!CHANGELOG
!makefile
!version.txt
!configuration.txt
!*.json
!*.sdl
!*.md
!*.txt
!tangle
!*.org
!org
!org/*.org
!.dr
!.dr/*
!markup/
!markup/pod/
!markup/pod/*/
!markup/pod/*/pod.manifest
!markup/pod/*/conf/
!markup/pod/*/conf/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
!markup/pod/.dr
!markup/pod/.dr/*
!markup/non-pod-samples/
!markup/non-pod-samples/*.sst
!markup/non-pod-samples/image/
!markup/non-pod-samples/image/*.png
!markup/non-pod-samples/image/*.jpg
!markup/non-pod-samples/image/*.PNG
!markup/non-pod-samples/image/*.JPG
!markup/sisudoc-spine-bespoke-output/
!markup/sisudoc-spine-bespoke-output/**
.dub/**
,**/.dub/**
tmp/**
,*_.org
,*_.md
,*_.txt
,*_.json
,*_.nix
,*_.d
,*_.txt
,*_
,*.swp
,*~
\#*
,*.\#*
!.envrc-local_
#!*/
#\#*
#*.\#*
#.reggae/**
#+END_SRC

** .gitattributes :gitattributes:

#+HEADER: :tangle "../.gitattributes"
#+BEGIN_SRC gitattributes
/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