Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where do I upload images used in pull request messages?

Tags:

github

I want to make a GitHub pull request where the message contains screenshots. I know I can use the following markup:

![My screenshot](myscreenshot.png)

But where do I upload them? Does GitHub provide this service themselves?

like image 501
Frederik Avatar asked May 14 '12 10:05

Frederik


People also ask

How do I add a picture to a pull request?

To attach a file to an issue or pull request conversation, drag and drop it into the comment box. Alternatively, you can click the bar at the bottom of the comment box to browse, select, and add a file from your computer. Tip: In many browsers, you can copy-and-paste images directly into the box.

How do I edit a file after pull request?

To edit a pull request, select the pull request on the Pull requests page, go to its detail page and click "Edit". The target branch (the base branch) and the pull request branch (the branch that will be merged) cannot be changed.

How do you submit a pull request?

Create pull requestGo to your repository on GitHub and you'll see a button “Compare & pull request” and click it. Please provide necessary details on what you've done (You can reference issues using “#”). Now submit the pull request. Congratulations!


2 Answers

Now, github provide image hosting, is not necessary to use an external service. You only need to drag&drop your imagen inside the comment box in the pull request and you are done :)

like image 188
Alfredo Solano Avatar answered Nov 16 '22 01:11

Alfredo Solano


Does GitHub provide this service themselves?

No.

You'd have to use an external image hosting provider such as

  • http://imgur.com
  • http://imageshack.us/
  • ...

then use the full url to the image in the markup.

For instance, using ![notes marker](http://i.imgur.com/Mha8c.png) would embed the following image in the description or a comment of a pull request.

notes marker

like image 29
nulltoken Avatar answered Nov 16 '22 02:11

nulltoken