sncommit 1.0.3 → 1.0.5
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.
- package/README.md +8 -0
- package/dist/index.js +28658 -11537
- package/package.json +15 -14
package/README.md
CHANGED
|
@@ -57,6 +57,12 @@ better-commit
|
|
|
57
57
|
|
|
58
58
|
# Or stage all files and run (like git commit -am)
|
|
59
59
|
better-commit -a
|
|
60
|
+
|
|
61
|
+
# Push to remote after committing
|
|
62
|
+
better-commit -p
|
|
63
|
+
|
|
64
|
+
# Stage all files, commit, and push (like git commit -am && git push)
|
|
65
|
+
better-commit -ap
|
|
60
66
|
```
|
|
61
67
|
|
|
62
68
|
### Alias
|
|
@@ -66,6 +72,8 @@ You can use the short alias `bc` instead of typing `better-commit`:
|
|
|
66
72
|
```bash
|
|
67
73
|
bc # Generate commit
|
|
68
74
|
bc -a # Stage all and commit
|
|
75
|
+
bc -p # Commit and push
|
|
76
|
+
bc -ap # Stage all, commit, and push
|
|
69
77
|
bc config # Open configuration
|
|
70
78
|
```
|
|
71
79
|
|