Skip to content

Instantly share code, notes, and snippets.

View extrospective's full-sized avatar

Mark Andersen extrospective

View GitHub Profile
@elfrank
elfrank / collaborate_on_branches.md
Last active August 19, 2024 12:58
How to work on someone else's branch

#How to work on someone else's branch

Let's assume you need to collaborate with Batman on his forked repository.

  • First, you need to add his fork as a remote.
git remote add batman [email protected]:batman/iambatman.git
  • Now, you can fetch, pull and push to his fork (if you have permissions to do so).
@dupuy
dupuy / README.rst
Last active October 21, 2024 22:20
Common markup for Markdown and reStructuredText

Markdown and reStructuredText

GitHub supports several lightweight markup languages for documentation; the most popular ones (generally, not just at GitHub) are Markdown and reStructuredText. Markdown is sometimes considered easier to use, and is often preferred when the purpose is simply to generate HTML. On the other hand, reStructuredText is more extensible and powerful, with native support (not just embedded HTML) for tables, as well as things like automatic generation of tables of contents.