Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.