Skip to content

filename or description #177

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
WitzHsiao opened this issue Feb 17, 2015 · 11 comments
Closed

filename or description #177

WitzHsiao opened this issue Feb 17, 2015 · 11 comments

Comments

@WitzHsiao
Copy link

I noticed that :Gist -e a.js only updates its description. is it better updating its filename instead of its description?

@mattn
Copy link
Owner

mattn commented Feb 17, 2015

Do you mean -s not -e ?

@WitzHsiao
Copy link
Author

-e

@mattn
Copy link
Owner

mattn commented Feb 17, 2015

Then I can't reproduce it. What is way to reproduce?

@WitzHsiao
Copy link
Author

I have tried it in curl. It works. Do you think it's better updating/saving "filename" than "description"?

https://developer.github.com/v3/gists/#edit-a-gist

@mattn
Copy link
Owner

mattn commented Feb 17, 2015

-e doesn't update description. -s do it.

@mattn
Copy link
Owner

mattn commented Feb 17, 2015

https://gist.github.com/mattn/257ce618e87008fc6969

I did:

  1. $ vim foobar.js and type some
  2. :Gist
  3. :Gist -s logging

@WitzHsiao
Copy link
Author

It doesn't work in my way.

  1. $ vim
  2. :Gist -l
  3. edit the gist
  4. :Gist -e new_name.sh

It only changed the description.

@spedepekka
Copy link
Contributor

For me :Gist -e "new-filename.txt" does only new revision and does not edit the filename. :Gist -s "New description" works properly.

@WitzHsiao
Copy link
Author

@spedepekka thanks, but I wanna find a option to update file name.

@mattn what do you think about it?

@mattn
Copy link
Owner

mattn commented Feb 21, 2015

@WitzHsiao it's possible. I'll look into it in later

@WitzHsiao
Copy link
Author

@mattn thanks, I'm looking forward to it.

@mattn mattn closed this as completed in 22eeb3a Mar 24, 2015
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

No branches or pull requests

3 participants