Skip to content

Conversation

akahn
Copy link
Contributor

@akahn akahn commented Sep 7, 2010

This patch adds support for multi-file gists. Example
$ gist file1.txt file2.txt
Or, in a situation where I want to show someone my merge conflicts:
$ git ls-files --unmerged | cut -f 2 | uniq | xargs gist

See also #4.

@indirect
Copy link
Collaborator

indirect commented Nov 5, 2010

I've patched gist to work with the new HTTPS-only Github, pulled this patch as well, and submitted a new homebrew formula that uses my fork instead, if you're interested. :)

@akahn
Copy link
Contributor Author

akahn commented Nov 5, 2010

Awesome, thanks!

akahn added 2 commits November 5, 2010 17:06
* 'master' of https://github.com/indirect/gist:
  oh right version
  help now mentions multiple files and - for stdin
  refactor, because... why so complicated
  Don't need index for each block
  Add support for multi-file gists
  gotta build it build it build it
  Use the code that's already there
  Using '-' as file name forces gist to read from stdin.
  Add curl's cacert.pem so we can validate Github's SSL certificate
  HTTPS support for the newer, safer Github

Conflicts:
	lib/gist.rb
ConradIrwin pushed a commit to ConradIrwin/gist that referenced this pull request May 3, 2013
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants