Skip to content

Commit 320b1d2

Browse files
committed
Add Git Integration section
1 parent e03af51 commit 320b1d2

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

index.adoc

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1974,6 +1974,21 @@ kbd:[M-x] `cider-ns-refresh` kbd:[RET]
19741974
There's also a key binding for this command:
19751975
kbd:[C-c] kbd:[M-n] kbd:[r]
19761976

1977+
=== Git
1978+
1979+
https://git-scm.com[Git] is a version control system that needs no
1980+
introduction.
1981+
1982+
Duct has a `--init-git` option that adds a `.gitignore` file suitable
1983+
for Duct projects. It will also initiate an empty Git repository in the
1984+
current directory if no repository already exists.
1985+
1986+
[,shell]
1987+
----
1988+
$ duct --init-git
1989+
Created empty Git repository in .git
1990+
Created .gitignore
1991+
----
19771992

19781993
=== Hashp
19791994

0 commit comments

Comments
 (0)