2.0.0 • Published 1 year ago

shancy-git v2.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

Git Buddy

Installation

npm i -g shancy-git

Features

  • Action: Commit And Push
    • -m: The commit message for the push operation.
    • -e: An optional emoji for the commit message.
    • -t: The type of the resulting commit. (Based on Commit Types)
    • --amend: A flag indicating whether to amend the previous commit.
    • Example: npx gitbuddy push -t feat -m "Added Feature" --amend
    • Example: npx gitbuddy push -t fix -m "Fixed Bug"
  • Action: Commit only

    • Example: npx gitbuddy commit -t feat -m "Message"
  • Action: squash (Combine commits)

    • n: The number of commits to squash (default is 1).
    • Example npx gitbuddy squash -n 4 -t feat -m "Squash Commits"
  • Action: pull

    • Example: npx gitbuddy pull
  • Action: push_origin

    • --f: A flag indicating whether to force-push to the origin.
    • Example: npx gitbuddy push_origin
  • Action: reset (Completely Deleting commits from remote)

    • n: The number of commits to reset (default is 1).
    • Example: npx gitbuddy reset -n 5

Commit-Types

Commit TypeTitleDescriptionEmoji
featFeatureA new feature
fixBug FixesA bug Fix🐛
docsDocumentationDocumentation only changes📚
styleStylesChanges that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)💎
refactorCode RefactoringA code change that neither fixes a bug nor adds a feature📦
perfPerformance ImprovementsA code change that improves performance🚀
testTestsAdding missing tests or correcting existing tests🚨
buildBuildsChanges that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)🛠️
ciContinuous IntegrationsChanges to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)⚙️
choreChoresOther changes that don't modify src or test files♻️
revertRevertsReverts a previous commit🗑️
2.0.0

1 year ago

1.0.11

1 year ago