mirror of
https://github.com/tiimgreen/github-cheat-sheet.git
synced 2025-08-09 01:16:37 +02:00
Add section about Git's instaweb command, thanks to @jdkanani ❤️
This commit is contained in:
14
README.md
14
README.md
@@ -38,6 +38,7 @@ A collection of cool hidden and not so hidden features of Git and GitHub. This c
|
||||
- [Styled Git Log](#styled-git-log)
|
||||
- [Git Query](#git-query)
|
||||
- [Merged Branches](#merged-branches)
|
||||
- [Web Server for Browsing Local Repositories](#web-server-for-browsing-local-repositories)
|
||||
- [Git Configurations](#git-configurations)
|
||||
- [Aliases](#aliases)
|
||||
- [Auto-Correct](#auto-correct)
|
||||
@@ -506,6 +507,19 @@ Will give you a list of branches that have not been merged into your current bra
|
||||
|
||||
[*Read more about the Git `branch` command.*](http://git-scm.com/docs/git-branch)
|
||||
|
||||
### Web Server for Browsing Local Repositories
|
||||
Use the Git `instaweb` command to instantly browse your working repository in `gitweb`. This command is a simple script to set up `gitweb` and a web server for browsing the local repository.
|
||||
|
||||
```bash
|
||||
$ git instaweb
|
||||
```
|
||||
|
||||
Opens:
|
||||
|
||||

|
||||
|
||||
[*Read more about the Git `instaweb` command.*](http://git-scm.com/docs/git-instaweb)
|
||||
|
||||
### Git Configurations
|
||||
Your `.gitconfig` file contains all your Git configurations.
|
||||
|
||||
|
Reference in New Issue
Block a user