summaryrefslogtreecommitdiffhomepage
path: root/org/config_git.org
blob: 7842340cb5ba15ebec65a33aa8d39acbba1a3734 (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
-*- 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

* spine
** .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
!README.md
!README
!COPYRIGHT
!CHANGELOG
!makefile
!version.txt
!configuration.txt
!*.json
!*.sdl
!meson.build
!tangle
!*.org
!org
!org/*.org
!*.d
!*.rb
!*.txt
!src
!src/**
!*.sst
!*.ssm
!**/*.sst
!**/*.ssm
!config_local_site
!views
.dub/**
**/.dub/**
**/cgi-bin/**
tmp/**
*_.org
*_.nix
*_.d
*_.txt
*_
*.swp
*~
\#*
*.\#*
!.envrc-local_
!src/spine_search.d_
#!*/
#\#*
#*.\#*
#.reggae/**
#+END_SRC

** .gitattributes :gitattributes:

#+HEADER: :tangle "../.gitattributes"
#+BEGIN_SRC sh
/org export-ignore
.gitattributes export-ignore
#.gitignore export-ignore
tangle export-ignore
#flake.lock export-ignore
/build export-ignore
#+END_SRC