Skip to content

Instantly share code, notes, and snippets.

@KEINOS
Forked from maglietti/gistColaboration.md
Last active August 15, 2017 13:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KEINOS/7048ccc8dcb70e1e40fc89f66b7fad33 to your computer and use it in GitHub Desktop.
Save KEINOS/7048ccc8dcb70e1e40fc89f66b7fad33 to your computer and use it in GitHub Desktop.
How to collaborate on a gist / Gistで友達とコラボレーション(共同作業)する方法

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

This is a translation of https://gist.github.com/maglietti/498638aa208e25c4ef40 in to Spanish.


Para colaborar en un gist:

  1. Clona tu repositorio de gist en GitHub, localmente.
  2. Añade el fork de tu amigo como remote. p.ej. Si el nombre de usuario de tu amigo es Cindy:
    git remote add-url cindy https://gist.github.com/cindy/df03bdacaef75a80f310
  3. fetch las confirmaciones de tu amigo: git fetch cindy/master
  4. Combina los cambios de tu amigo en tu repositorio local: git merge cindy/master
  5. Vuelva a transferir los cambios a GitHub: git push origin/master

This is a translation of https://gist.github.com/maglietti/498638aa208e25c4ef40 in to Japanese.


Gistでコラボーレーション(共同作業)する方法:

  1. 自分の「gist」をローカルにクローンします。
  2. 友達の「fork」をリモートに追加します。 例: 友達のユーザ名が「Cindy」の場合:
    git remote add-url cindy https://gist.github.com/cindy/df03bdacaef75a80f310
  3. 友達のコミットを「fetch」します: git fetch cindy/master
  4. 友達の修正を自分のローカル・リポジトリにマージします: git merge cindy/master
  5. 変更を GitHub に「push」して反映させます: git push origin/master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment