Publish a landing page on Github pages in 5 minutes!

Publish a landing page on Github pages in 5 minutes!:

 

Github pages make it super simple to publish your static webpages quickly. You need to follow the following steps which will not take more than 5 minutes and your webpage will be published live.

  1. Create a new repository on #Github. Keep the default settings. Give it a name i.e ‘landing-page’.

  2. git clone https://github.com{your_user_name}/landing-page on your local machine.

  3. Add your landing page files.

  4. Stage your files git add .

  5. Commit your files git commit -m "first commit".

  6. Create a new branch called gh-pages git checkout -b gh-pages

  7. Push your changes to #Github git push origin gh-pages

And your static landing page will be up and running on https://{your_username}.github.io/landing-page/

from Tumblr https://generouspiratequeen.tumblr.com/post/633569511102201856

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s