Skip to content

a simple way to clone locally, update and push github wiki

Notifications You must be signed in to change notification settings

git-tricks-collection/clone-and-update-github-wiki

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 

Repository files navigation

how to clone and update github wiki



This is a simple note.
A classic way to clone locally, update and push github wiki.

  • Make a folder somewhere (not raccomended the main project folder)

  • Open terminal an write:

    cd YOUR_PROJECT_FOLDER

    It's not raccomended the main repository project folder. Clone in a wrap folder all

  • After inside YOUR_PROJECT_FOLDER, in terminal

    git clone https://github.com/YOUR_ACCOUNT_OR_ORGANIZATION/YOUR_REPOSITORY_NAME.wiki.git

  • Mod your cloned wiki file for a test

  • update (push) on original github:

    git add .
    git commit -m "a summary message or motivation of update"
    git push
    

    or more compact (onlylinux)...

    git add . && git commit -m" " && git push