-
Notifications
You must be signed in to change notification settings - Fork 5
/
git.html
160 lines (160 loc) · 5.64 KB
/
git.html
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang="">
<head>
<meta charset="utf-8" />
<meta name="generator" content="pandoc" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<title>Allegro - Downloads - GIT</title>
<style>
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
div.columns{display: flex; gap: min(4vw, 1.5em);}
div.column{flex: auto; overflow-x: auto;}
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
ul.task-list{list-style: none;}
ul.task-list li input[type="checkbox"] {
width: 0.8em;
margin: 0 0.8em 0.2em -1.6em;
vertical-align: middle;
}
.display.math{display: block; text-align: center; margin: 0.5rem auto;}
</style>
<link rel="stylesheet" href="web_style.css" />
<link rel="alternate" type="application/atom+xml"
href="feed_atom.xml" title="Allegro news"
/>
<!--[if lt IE 9]>
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
<![endif]-->
</head>
<body>
<div id="main_header">
<div id="header_container">
<img id="logo" src="images/logo.png" alt="Allegro" height="58" width="186" />
<div id="title">
A game programming library
</div>
</div>
</div>
<div id="left">
<div id="sidebar">
<ul>
<li><strong>Allegro</strong>
<ul>
<li><a href="index.html">About</a></li>
<li><a href="git.html">Git repository</a></li>
<li><a href="license.html">License</a></li>
<li><a href="examples_demos.html">Examples</a></li>
<li><a href="https://github.com/liballeg/allegro5/issues">Bug
tracker</a></li>
<li><a href="bindings.html">Language bindings</a></li>
</ul></li>
<li><strong>Downloads</strong>
<ul>
<li><strong><a href="download.html">Latest version</a></strong></li>
<li><a href="old.html">Older versions</a></li>
<li><a href="addons.html">Extra addons</a></li>
</ul></li>
<li><strong>Documentation</strong>
<ul>
<li><strong><a href="https://liballeg.org/a5docs/trunk/">Latest
version</a></strong></li>
<li><a href="api.html">All versions</a></li>
<li><a href="docs.html">Tutorials</a></li>
<li><a href="books.html">Books</a></li>
<li><a
href="https://github.com/liballeg/allegro_wiki/wiki">Wiki</a></li>
</ul></li>
<li><strong>Community</strong>
<ul>
<li><a href="http://www.allegro.cc/forums/">Forums</a></li>
<li><a href="https://discord.gg/f3Cd4TZzpp">Discord</a></li>
<li><a href="irc.html">IRC</a></li>
<li><a href="game_jams.html">Game Jams</a></li>
<li><a href="maillist.html">Mailing lists</a></li>
</ul></li>
<li><strong>Misc</strong>
<ul>
<li><a href="readme.html">History</a></li>
<li><a href="oldnews.html">Older news</a></li>
<li><a href="logos.html">Logos</a></li>
<li><a href="digmid.html">DIGMID</a></li>
<li><a href="links.html">Links</a></li>
<li><a href="mirrors.html">Mirrors</a></li>
<li><a href="webmasters.html">Webmasters</a></li>
<li><a href="humor.html">Humor</a></li>
</ul></li>
</ul>
<!-- keep blank line for correct HTML -->
</div>
<!-- sidebar -->
<div id="hosting">
<p><a href="https://github.com/liballeg">GitHub project</a> <br/> <br/>
<a
href="https://projects.tuxfamily.org/?do=group;name=allegro">TuxFamily
project</a></p>
</div>
<!-- hosting -->
</div>
<!-- left -->
<div id="content">
<header id="title-block-header">
<h1 class="title">Allegro - Downloads - GIT</h1>
</header>
<h1 id="git-access">GIT access</h1>
<p>Allegro’s source code is maintained in a GIT repository. You can get
clients for most platforms at <a href="http://git-scm.com"
class="uri">http://git-scm.com</a>, and there is good documentation like
the <a href="http://git-scm.com/docs">Reference Manual</a>.</p>
<p>The source repository is hosted at GitHub: <a
href="https://github.com/liballeg/allegro5"
class="uri">https://github.com/liballeg/allegro5</a></p>
<p>You can clone the repository from either of these two URLs:</p>
<pre><code>https://github.com/liballeg/allegro5.git
git@github.com:liballeg/allegro5.git</code></pre>
<p>By default you will be on the master branch. You can change the
branch from your working tree like this:</p>
<pre><code>git checkout 5.0
git checkout 4.4
git checkout master</code></pre>
<h2 id="usage">Usage</h2>
<p>A quick reminder how to use git.</p>
<p>To get the repository:</p>
<pre><code>git clone https://github.com/liballeg/allegro5.git</code></pre>
<p>Remember to tell git your name and email address:</p>
<pre><code>git config --global user.name "My Name"
git config --global user.email "USERNAME@example.net"</code></pre>
<p>To make sure you’re in the right branch and have the latest
changes:</p>
<pre><code>cd allegro
git checkout master
git pull --rebase origin master</code></pre>
<p>To locally commit your changes:</p>
<pre><code>git add -p
git commit -v</code></pre>
<p>To share your local commit (send as attachments to the Allegro
developers mailing list):</p>
<pre><code>git format-patch HEAD^</code></pre>
<p>For committers, to push changes on the local master branch to the
remote master branch:</p>
<pre><code>git push origin master</code></pre>
<h2 id="test-results">Test results</h2>
<p>Daily test results can be seen here: <a href="http://allegro5.org"
class="uri">http://allegro5.org</a></p>
</div>
<!-- content -->
<div id="footer">
<div id="contact">
<p><a href="webmasters.html">Contact the webmasters</a></p>
</div>
<!-- contact -->
<p><a href="http://petition.eurolinux.org/index_html?LANG=en">
<img src="images/nopatents.png" border="0" alt="No ePatents"
height="33" width="88" vspace="1" hspace="1" /> </a>
<a href="http://www.anybrowser.org/campaign/">
<img src="images/anyb.png" border="0" alt="Viewable with any browser"
height="31" width="88" vspace="1" hspace="1" /> </a></p>
</div>
<!-- footer -->
</body>
</html>