git instaweb -llighttpd not found. Install lighttpd or use --httpd to specify another httpd daemon.

2022. 12. 29. 14:35Backup

프로젝트 명은 가릴걸 ㅎ

https://stackoverflow.com/questions/1508752/git-instaweb-httpd-configuration-to-use-apache2-on-osx-leopard-server

 

Git instaweb httpd configuration to use apache2 on OSX Leopard server

By default git instaweb is expecting lighttpd web server, whereas on OSX Leopard server apache2 is the default one. Adding the following to .git/config : [instaweb] local = true httpd = apache2 -...

stackoverflow.com

 

[instaweb]
	httpd = webrick

이미 설치된 webrick demon을 httpd 모듈로써 사용하라고 지정해주면 된다고 한다. 

~/.gitconfig 경로의 파일에다가 위의 코드를 추가해주면 

 

서두에 밝힌 것 처럼,

git instaweb -l

의 명령어로 

위와 같이 확인할 수 있다. 

모르는 것은 딱히 없었는데, 다만 instaweb 기능은 처음이었다. 아마도 요즘 대부분의 툴에 이런기능이 내장되어 있어, gui로써 이미 사용하고 있었기 때문일 거다. 그 밖에, reflog 또한 다시금 숙지하는 계기가 됐다. 

 

https://dev.to/lissy93/20-git-commands-you-probably-didnt-know-about-4j4o?utm_source=oneoneone#git-fsck 

 

나의 깃 버전