<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://infotechpedia.org/w/index.php?action=history&amp;feed=atom&amp;title=Git_Clone_Command</id>
	<title>Git Clone Command - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://infotechpedia.org/w/index.php?action=history&amp;feed=atom&amp;title=Git_Clone_Command"/>
	<link rel="alternate" type="text/html" href="https://infotechpedia.org/w/index.php?title=Git_Clone_Command&amp;action=history"/>
	<updated>2026-06-04T00:31:01Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.14</generator>
	<entry>
		<id>https://infotechpedia.org/w/index.php?title=Git_Clone_Command&amp;diff=119&amp;oldid=prev</id>
		<title>TomHutchison: category</title>
		<link rel="alternate" type="text/html" href="https://infotechpedia.org/w/index.php?title=Git_Clone_Command&amp;diff=119&amp;oldid=prev"/>
		<updated>2018-03-01T15:37:22Z</updated>

		<summary type="html">&lt;p&gt;category&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 15:37, 1 March 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l27&quot; &gt;Line 27:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 27:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;You will be prompted for a password, enter it and press return. If the path is correct and the &amp;lt;code&amp;gt;/.git&amp;lt;/code&amp;gt; directory is found in the parent directory ( the example above, &amp;lt;code&amp;gt;/newProject&amp;lt;/code&amp;gt; ) then the download and cloning of the git repo will complete. Remember is must be the absolute path to the file.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;You will be prompted for a password, enter it and press return. If the path is correct and the &amp;lt;code&amp;gt;/.git&amp;lt;/code&amp;gt; directory is found in the parent directory ( the example above, &amp;lt;code&amp;gt;/newProject&amp;lt;/code&amp;gt; ) then the download and cloning of the git repo will complete. Remember is must be the absolute path to the file.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Git Commands]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>TomHutchison</name></author>
		
	</entry>
	<entry>
		<id>https://infotechpedia.org/w/index.php?title=Git_Clone_Command&amp;diff=118&amp;oldid=prev</id>
		<title>TomHutchison: new page</title>
		<link rel="alternate" type="text/html" href="https://infotechpedia.org/w/index.php?title=Git_Clone_Command&amp;diff=118&amp;oldid=prev"/>
		<updated>2018-03-01T15:36:56Z</updated>

		<summary type="html">&lt;p&gt;new page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;There are two methods to download an existing project and create a local work copy. Depending on the host of the git repository, this will change the syntax.&lt;br /&gt;
&lt;br /&gt;
== Clone from GitHub ==&lt;br /&gt;
Either make the directory and &amp;lt;code&amp;gt;cd&amp;lt;/code&amp;gt; to it and use &amp;lt;code&amp;gt;git clone ...&amp;lt;/code&amp;gt; which will add an additional subdirectory ( which may not be desirable ) inside the newly made directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
gitRepoDirectory&lt;br /&gt;
 | cd coolProject&lt;br /&gt;
 -- coolProject&lt;br /&gt;
    | git clone https://github.com/username/coolProject.git&lt;br /&gt;
    -- coolProject (new directory created with all the cloned files and directories)&lt;br /&gt;
&lt;br /&gt;
Better to specify a working directory for better organization and create the directory.&lt;br /&gt;
&lt;br /&gt;
gitRepoDirectory&lt;br /&gt;
 | git clone https://github.com/username/coolProject.git coolProject&lt;br /&gt;
 -- coolProject (which will have all the cloned files and directories)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The second method is more desirable otherwise you may end up with lots of directories, with only a git project directory in each one. This allows you to have a master git repo directory and then have all projects in that directory.&lt;br /&gt;
&lt;br /&gt;
== Cloning from Remote Server ==&lt;br /&gt;
Very similar to a GitHub repo clone only you will need to use ssh to shell into the server over port 22 or whatever the ssh port for the server is. You can use a similar directory structure, &amp;lt;code&amp;gt;mkdir directory&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;cd&amp;lt;/code&amp;gt; to create your structure. Then issue the command to clone with shh. Of course the remote server needs access with ssh.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone ssh://username@host.com:22/path/to/repository/newProject/.git newProject&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will be prompted for a password, enter it and press return. If the path is correct and the &amp;lt;code&amp;gt;/.git&amp;lt;/code&amp;gt; directory is found in the parent directory ( the example above, &amp;lt;code&amp;gt;/newProject&amp;lt;/code&amp;gt; ) then the download and cloning of the git repo will complete. Remember is must be the absolute path to the file.&lt;/div&gt;</summary>
		<author><name>TomHutchison</name></author>
		
	</entry>
</feed>