Layershift

Layershift

Share

20/10/2023

I've recently been getting my hands dirty learning and using Git in earnest. Yesterday I came across a feature called 𝐠𝐢𝐭-𝐢𝐧𝐬𝐭𝐚𝐰𝐞𝐛. This tool allows you to browse your working repository in a web interface.

This is how you get up and running.

1. Obviously you have Git installed on your machine
2. Open your terminal.
3. Navigate to your Git project directory using 𝗰𝗱 /𝗽𝗮𝘁𝗵/𝘁𝗼/𝘆𝗼𝘂𝗿/𝗿𝗲𝗽𝗼.
4. Type '𝐠𝐢𝐭 𝐢𝐧𝐬𝐭𝐚𝐰𝐞𝐛' to start with the default settings.
5. Optionally, specify a web server or port by using 𝗴𝗶𝘁 𝗶𝗻𝘀𝘁𝗮𝘄𝗲𝗯 --𝗵𝘁𝘁𝗽𝗱= or '𝗴𝗶𝘁 𝗶𝗻𝘀𝘁𝗮𝘄𝗲𝗯 --𝗽𝗼𝗿𝘁=' respectively.
6. Your default web browser should automatically open displaying your repository.

7. To stop git-instaweb, type '𝗴𝗶𝘁 𝗶𝗻𝘀𝘁𝗮𝘄𝗲𝗯 --𝘀𝘁𝗼𝗽' in the terminal.
https://git-scm.com/docs/git-instaweb

Want your business to be the top-listed Computer & Electronics Service in Manchester?
Click here to claim your Sponsored Listing.

Telephone

Address

Manchester