<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://bridgeslab.sph.umich.edu/protocols/index.php?action=history&amp;feed=atom&amp;title=Using_Git</id>
	<title>Using Git - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://bridgeslab.sph.umich.edu/protocols/index.php?action=history&amp;feed=atom&amp;title=Using_Git"/>
	<link rel="alternate" type="text/html" href="https://bridgeslab.sph.umich.edu/protocols/index.php?title=Using_Git&amp;action=history"/>
	<updated>2026-06-01T21:01:51Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://bridgeslab.sph.umich.edu/protocols/index.php?title=Using_Git&amp;diff=468&amp;oldid=prev</id>
		<title>Davebrid: wrote initial page</title>
		<link rel="alternate" type="text/html" href="https://bridgeslab.sph.umich.edu/protocols/index.php?title=Using_Git&amp;diff=468&amp;oldid=prev"/>
		<updated>2010-04-26T16:45:17Z</updated>

		<summary type="html">&lt;p&gt;wrote initial page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;See &lt;br /&gt;
&lt;br /&gt;
==Command Line&lt;br /&gt;
&lt;br /&gt;
===Normal Working Routine===&lt;br /&gt;
* go to repository, check current branch. &amp;#039;&amp;#039;&amp;#039;git branch&amp;#039;&amp;#039;&amp;#039;.  To change to a different branch &amp;#039;&amp;#039;&amp;#039;git checkout branchname&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* update to current version. &amp;#039;&amp;#039;&amp;#039;git pull&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* make changes as required.  You should commit these changes early and often * git commit -am &amp;#039;&amp;#039;&amp;#039;Some note about the changes&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* once you are done (or at any time really) push the changes back to the remote repository (git push).&lt;br /&gt;
&lt;br /&gt;
====Creating New Branches====&lt;br /&gt;
* if a new branch is required create it. &amp;#039;&amp;#039;&amp;#039;git branch newbranchname&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* switch to newly created branch &amp;#039;&amp;#039;&amp;#039;git checkout newbranchname&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* commits will now be unique to this branch&lt;br /&gt;
* to merge changes in from another branch, go to the pulling branch and enter &amp;#039;&amp;#039;&amp;#039;git merge otherbranch&amp;#039;&amp;#039;&amp;#039;.  Make sure to commit and push these changes.&lt;/div&gt;</summary>
		<author><name>Davebrid</name></author>
	</entry>
</feed>