Skip to content

Commit 71d5ab5

Browse files
committed
documentation: add lab for first contribution
This code lab covers how to add a new command to Git and, in the process, everything from cloning git/git to getting reviewed on the mail list. It's meant for new contributors to go through interactively, learning the techniques generally used by the git/git development community. Signed-off-by: Emily Shaffer <[email protected]>
1 parent e35b8cb commit 71d5ab5

File tree

3 files changed

+893
-0
lines changed

3 files changed

+893
-0
lines changed

Documentation/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ cmds-*.txt
1212
mergetools-*.txt
1313
manpage-base-url.xsl
1414
SubmittingPatches.txt
15+
MyFirstContribution.txt
1516
tmp-doc-diff/

Documentation/Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ API_DOCS = $(patsubst %.txt,%,$(filter-out technical/api-index-skel.txt technica
7474
SP_ARTICLES += $(API_DOCS)
7575

7676
TECH_DOCS += SubmittingPatches
77+
TECH_DOCS += MyFirstContribution
7778
TECH_DOCS += technical/hash-function-transition
7879
TECH_DOCS += technical/http-protocol
7980
TECH_DOCS += technical/index-format
@@ -338,6 +339,7 @@ clean:
338339
$(RM) howto-index.txt howto/*.html doc.dep
339340
$(RM) technical/*.html technical/api-index.txt
340341
$(RM) SubmittingPatches.txt
342+
$(RM) MyFirstContribution.txt
341343
$(RM) $(cmds_txt) $(mergetools_txt) *.made
342344
$(RM) manpage-base-url.xsl
343345

@@ -379,6 +381,9 @@ $(patsubst %,%.html,$(API_DOCS) technical/api-index $(TECH_DOCS)): %.html : %.tx
379381
SubmittingPatches.txt: SubmittingPatches
380382
$(QUIET_GEN) cp $< $@
381383

384+
MyFirstContribution.txt: MyFirstContribution
385+
$(QUIET_GEN) cp $< $@
386+
382387
XSLT = docbook.xsl
383388
XSLTOPTS = --xinclude --stringparam html.stylesheet docbook-xsl.css
384389

0 commit comments

Comments
 (0)