Changes
Page history
easier copy-paste
authored
Sep 27, 2021
by
anarcat
Show whitespace changes
Inline
Side-by-side
howto/git.md
View page @
935efe9f
...
@@ -300,6 +300,7 @@ To archive a repository, it must first be deactivated by adding a
...
@@ -300,6 +300,7 @@ To archive a repository, it must first be deactivated by adding a
The script should display some sort of warning and exit with an error,
The script should display some sort of warning and exit with an error,
for example:
for example:
```
#!/bin/sh
#!/bin/sh
cat
<<
EOF
cat
<<
EOF
...
@@ -311,6 +312,7 @@ for example:
...
@@ -311,6 +312,7 @@ for example:
EOF
EOF
exit
1
exit
1
```
Then in Gitolite, the repository must be put "in the Attic", using a
Then in Gitolite, the repository must be put "in the Attic", using a
patch that looks something like this:
patch that looks something like this:
...
...
...
...