Skip to content
This repository was archived by the owner on Feb 29, 2024. It is now read-only.

Latest commit

 

History

History
51 lines (33 loc) · 859 Bytes

File metadata and controls

51 lines (33 loc) · 859 Bytes

github_winther

Change

When you want to change something or update the website:

  • First time: clone the repo on your laptop
git clone https://github.com/olewinther/github.io
  • If you already have the repo on your laptop
cd update_winther
git pull
  • change something
git add .
git commit -m "Change something"
git push origin main

now your changes are online. If you host your website with github.io, stop here.

Server

If your website is on another server, ssh in the server

  • First time you copy the content on the server:
git clone https://github.com/olewinther/github.io

The index.html should be recognised automatically.

If the repo is already on the server

  • cd in the folder and pull
cd update_winther
git pull

then follow the same procedure for updating.