aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/config_git.org
blob: 68ff2cea5ebebb1ce442116bdcca79e118473606 (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
-*- mode: org -*-
#+TITLE:       configuration git
#+DESCRIPTION: documents - structuring, various output representations & search
#+FILETAGS:    :sisu:configure:git:
#+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
** .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
,*
!.gitignore
!.gitattributes
!nix/**
!*.nix
!flake.lock
!README
!COPYRIGHT
!CHANGELOG
!CHANGELOGS/
!CHANGELOGS/CHANGELOG
!CHANGELOGS/CHANGELOG_v*
!makefile
!Rakefile
!Rantfile
!qi
!setup/
!setup/*
!version
!version.txt
!conf/
!conf/**
!*.json
!*.org
!org/
!org/*.org
!*.rb
!*.txt
!*.yml
!bin
!bin/sisu
!bin/sisu-*
!bin/sisugem
!lib
!lib/**
!man
!man/**
!data
!data/doc
!data/doc/**
!data/sisu
!data/sisu/**
!*.sst
!*.ssm
!*.ssi
!**/*.sst
!**/*.ssm
!**/*.ssi
!debian/
!debian/changelog
!debian/compat
!debian/control
!debian/copyright
!debian/gbp.conf
!debian/sisu*.manpages
!debian/sisu*.install
!debian/manpages/
!debian/manpages/sisu*.7
!debian/rules
!debian/sisu\.*
!debian/source/
!debian/source/format
!debian/watch
,*~
,*_
\#*
,*.\#*
,*.tmp
,*_tmp
,*.gem
,*.gemspec
!sisu.gemspec
,*_.rb
,*.rb_
0???-*.patch
,*.gz
,*.xz
,*_
.*
!.gitignore
!.gitattributes
!.envrc
!.envrc-local
!.envrc-nix
#+END_SRC

** .gitattributes :gitattributes:

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