Browse Source

Modified 'fork' help

pull/24/head
Teknikode 8 years ago
parent
commit
5bd0b56a2a
  1. 11
      help/git.php

11
help/git.php

@ -35,14 +35,9 @@ @@ -35,14 +35,9 @@
</p>
<h3>Fork a user's git repository</h3>
<p>
When you fork a user's repository, you can make changes, and then send a pull request to the user to accept your changes. To fork the user's repo you will need to perform the following commands.
<br />
<pre>
~$git clone git://teknik.io/u/[username]/[repository]
~$cd [repository]
~$git remote set-url origin git@teknik.io:u/[your username]/[repository]
~$git push
</pre>
When you fork a user's repository, you can make changes, and then send a pull request to the user to accept your changes. To fork the user's repo you will need to perform the following command.
<br />
<code>~$ssh git@teknik.io fork u/[username]/[repository] u/[your username]/[repository]</code>
<br />
</p>
<h3>Submit a pull request to the original author</h3>

Loading…
Cancel
Save