Skip to content

Commit 85df570

Browse files
committed
whatchanged
1 parent 5577871 commit 85df570

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
* [Get only remote branches](https://github.com/git-tips/tips#get-only-remote-branches)
2222
* [Stage parts of a changed file, instead of the entire file](https://github.com/git-tips/tips#stage-parts-of-a-changed-file-instead-of-the-entire-file)
2323
* [Get git bash completion](https://github.com/git-tips/tips#get-git-bash-completion)
24+
* [What changed since two weeks?](https://github.com/git-tips/tips#what-changed-since-two-weeks)
2425

2526
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
2627
<!-- @doxie.inject end toc -->
@@ -124,5 +125,10 @@ git add -p
124125
curl http://git.io/vfhol > ~/.git-completion.bash && echo '[ -f ~/.git-completion.bash ] && . ~/.git-completion.bash' >> ~/.bashrc
125126
```
126127

128+
## What changed since two weeks?
129+
```sh
130+
git whatchanged --since='2 weeks ago'
131+
```
132+
127133
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
128134
<!-- @doxie.inject end -->

tips.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,5 +71,9 @@
7171
{
7272
"title": "Get git bash completion",
7373
"tip": "curl http://git.io/vfhol > ~/.git-completion.bash && echo '[ -f ~/.git-completion.bash ] && . ~/.git-completion.bash' >> ~/.bashrc"
74+
},
75+
{
76+
"title": "What changed since two weeks?",
77+
"tip": "git whatchanged --since='2 weeks ago'"
7478
}
7579
]

0 commit comments

Comments
 (0)