Browse Source

Modified 'fork' help

pull/24/head
Teknikode 7 years ago
parent
commit
5bd0b56a2a
1 changed files with 3 additions and 8 deletions
  1. 3
    8
      help/git.php

+ 3
- 8
help/git.php View File

@@ -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