<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.alpinelinux.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jaustinpage</id>
	<title>Alpine Linux - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.alpinelinux.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jaustinpage"/>
	<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/wiki/Special:Contributions/Jaustinpage"/>
	<updated>2026-04-26T03:15:34Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Git&amp;diff=12992</id>
		<title>Git</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Git&amp;diff=12992"/>
		<updated>2016-10-13T15:27:15Z</updated>

		<summary type="html">&lt;p&gt;Jaustinpage: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Obsolete| This page describes git flows using email patch submissions, and should be updated with github based pull requests}}&lt;br /&gt;
&lt;br /&gt;
This document describes how to use [http://git-scm.com git] for Alpine Linux development and related projects. If you just want to browse the Alpine git repositories, please visit [http://git.alpinelinux.org/cgit/aports git.alpinelinux.org].&lt;br /&gt;
&lt;br /&gt;
== Basic Git usage ==&lt;br /&gt;
&lt;br /&gt;
{{:Development_using_git:Configuration}}&lt;br /&gt;
&lt;br /&gt;
{{Tip| If you want to use git with colored output use:&lt;br /&gt;
 {{Cmd|git config --global color.ui true&lt;br /&gt;
git config --global core.pager more}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{Tip| If you want to use git with proxy server:&lt;br /&gt;
 {{Cmd|git config --global http.proxy http://proxy_ip:proxy_port}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{:Development_using_git:Email}}&lt;br /&gt;
&lt;br /&gt;
== Cloning a repository via Git ==&lt;br /&gt;
&lt;br /&gt;
There are two ways to work with the Alpine git repository...&lt;br /&gt;
&lt;br /&gt;
* ...without write access.&lt;br /&gt;
* ...with write access.&lt;br /&gt;
&lt;br /&gt;
[http://git.alpinelinux.org/cgit/aports git.alpinelinux.org] shows all available Alpine git repositories.&lt;br /&gt;
&lt;br /&gt;
=== Without write access ===&lt;br /&gt;
&lt;br /&gt;
If you want to clone the Alpine aports repository, switch to the directory you want to have the &#039;&#039;aports/&#039;&#039; directory in and launch git.&lt;br /&gt;
 &lt;br /&gt;
{{Cmd|git clone git://git.alpinelinux.org/aports.git}}&lt;br /&gt;
&lt;br /&gt;
{{Tip| If you are using proxy server:&lt;br /&gt;
 {{Cmd|git clone http://git.alpinelinux.org/cgit/aports}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
If you want only the last 3 revisions:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|git clone git://git.alpinelinux.org/aports.git --depth 3}}&lt;br /&gt;
&lt;br /&gt;
Use the command below to see the full log of the trunk. &lt;br /&gt;
&lt;br /&gt;
{{Cmd|git log}}&lt;br /&gt;
&lt;br /&gt;
=== With write access ===&lt;br /&gt;
&lt;br /&gt;
If you have write access to the Alpine the URL needs to be adjusted for cloning a repository&lt;br /&gt;
&lt;br /&gt;
{{Cmd|git clone ssh://username@git.alpinelinux.org/aports.git}}&lt;br /&gt;
&lt;br /&gt;
== General GIT Workflow ==&lt;br /&gt;
# Make your file edits in your local checkout of the local copy of repository.&lt;br /&gt;
# Commit the changes in your local repository: {{Cmd|git commit}}&lt;br /&gt;
# Bring the rest of your local repository up to date: {{Cmd|git pull --rebase}}&lt;br /&gt;
# Check what you are going to push: {{Cmd|git log origin..master}}&lt;br /&gt;
# Move your changes up to the master if you have write access {{Cmd|git push}} or [[Creating_patches|create a patch]] if not.&lt;br /&gt;
&lt;br /&gt;
== Other related articles ==&lt;br /&gt;
&lt;br /&gt;
* [[Development_using_git:Basic_usage| Basic usage]]&lt;br /&gt;
* [[Package Maintainers]]&lt;br /&gt;
* [[Creating patches]]&lt;br /&gt;
* [[Development_using_git:Developer_repositories|Developer repositories]]&lt;br /&gt;
* [[Development_using_git:Cgit| Using Cgit]]&lt;br /&gt;
&lt;br /&gt;
== Further reading ==&lt;br /&gt;
{{:Development_using_git:Documentation}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
[[Category:Git]]&lt;/div&gt;</summary>
		<author><name>Jaustinpage</name></author>
	</entry>
</feed>