How to add a new picture to a github wiki

Source: Internet
Author: User

This article provides a brief introduction to adding new image pairs to the GitHub wiki.

On GitHub's wiki, you can show pictures, but, how to add images, from the information displayed on the page, is not very clear.

Adding a picture is basically done in the following steps:

1. Clone Wiki

2. Create a picture Catalog

3. Add a picture to the picture directory

4. Referencing a picture in a wiki

The following are the steps:

1. Clone Wiki

git clone https://github.com/xx/xx.wiki.git

The URL can be obtained from the clone this wiki locally

2. Create a images Directory

CD Xx.wiki

mkdir Images

3. Add the file to the picture directory

CP A.pn images/

Git add-a

Git commit-m "Add a.pn"

git push

4. Referencing a picture in a wiki file

[New picture] (IMAGES/A.PN)

-------want to help you.

How to add a new picture to a github wiki

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.