Git
+ +Description
+ +Displays information about local git repositories: branch, changed +files, and recent commits.
+ +Branch
+ +Displays the of the currently-active git branch.
+ +Changed Files
+ +Displays a list of all the files that have changed since the last +commit, and their status.
+ +Recent Commits
+ +Displays a list of n recent commits, who committed it, and when.
Source Code
+ +wtf/git/
+
+
+Required ENV Variables
+ +None.
+ +Keyboard Commands
+ +Key: /
+Action: Open/close the widget’s help window.
Key: h
+Action: Show the previous git repository.
Key: l
+Action: Show the next git repository.
Key: ←
+Action: Show the previous git repository.
Key: →
+Action: Show the next git repository.
Configuration
+ +git:
+ commitCount: 5
+ enabled: true
+ position:
+ top: 0
+ left: 3
+ height: 2
+ width: 2
+ refreshInterval: 8
+ repositories:
+ - "/Users/chris/go/src/github.com/senorprogrammer/wtf"
+ - "/Users/chris/Documents/Lendesk/core-api"
+
+
+Attributes
+ +commitCount
+The number of past commits to display.
+Values: A positive integer, 0..n.
enabled
+Determines whether or not this module is executed and if its data displayed onscreen.
+Values: true, false.
position
+Defines where in the grid this module’s widget will be displayed.
refreshInterval
+How often, in seconds, this module will update its data.
+Values: A positive integer, 0..n.
repositories
+Defines which git repositories to watch.
+Values: A list of zero or more local file paths pointing to valid git repositories.
+
## Source Code
```bash
@@ -38,6 +43,7 @@ wtf/weather/
```yaml
weather:
+ # From http://openweathermap.org/help/city_list.txt
cityids:
- 6173331
- 3128760
@@ -57,3 +63,33 @@ weather:
```
### Attributes
+
+`cityids`