contribute-now 0.4.1-staging.f9d0aaa → 0.5.0-dev.914e35d

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +8 -6
  2. package/dist/index.js +850 -227
  3. package/package.json +5 -4
package/README.md CHANGED
@@ -204,17 +204,19 @@ Checks include:
204
204
 
205
205
  ### `contrib log`
206
206
 
207
- Show a colorized, workflow-aware commit log with graph visualization.
207
+ Show a colorized, workflow-aware commit log. By default it shows only **local unpushed commits** — the changes you've made since the last push (or since branching off the base branch). Use flags to switch between different views.
208
208
 
209
209
  ```bash
210
- contrib log # last 20 commits with graph
211
- contrib log -n 50 # last 50 commits
212
- contrib log --all # all branches
213
- contrib log --no-graph # flat view without graph lines
210
+ contrib log # local unpushed commits (default)
211
+ contrib log --remote # commits on remote not yet pulled
212
+ contrib log --full # full history for the current branch
213
+ contrib log --all # commits across all branches
214
+ contrib log -n 50 # change the commit limit (default: 20)
214
215
  contrib log -b feature/x # log for a specific branch
216
+ contrib log --no-graph # flat view without graph lines
215
217
  ```
216
218
 
217
- Protected branches (main, dev) are highlighted, and the current branch is color-coded for quick orientation.
219
+ When no upstream tracking is set (branch hasn't been pushed yet), the command automatically compares against the base branch from your config (e.g., `origin/dev`). Protected branches are highlighted, and the current branch is color-coded for quick orientation.
218
220
 
219
221
  ---
220
222