Skip to content

Instantly share code, notes, and snippets.

KEINOS KEINOS

View GitHub Profile
@KEINOS
KEINOS / gistColaboration.md
Last active Aug 15, 2017 — forked from maglietti/gistColaboration.md
How to collaborate on a gist / Gistで友達とコラボレーション(共同作業)する方法
View gistColaboration.md

To collaborate on a gist:

  1. Clone your gist repo locally
  2. Add your friend’s fork as a remote. e.g. if your friend is named Cindy:
    git remote add-url cindy https://gist.github.com/cindy/df03bdacaef75a80f310
  3. Fetch your friend’s commits: git fetch cindy/master
  4. Merge your friend’s changes into your repo: git merge cindy/master
  5. Push the changes back to GitHub: git push origin/master
@KEINOS
KEINOS / Main.php
Last active Aug 15, 2017 — forked from Haru-GitHub/Main.php
Sample gist to practice collaborating.
View Main.php
<?php
// initial file
// added from paiza.IO.
You can’t perform that action at this time.