❀Notoriously Punctual Manatee

    create-git-alias

    1.4.2Β β€’Β PublicΒ β€’Β Published

    create-git-alias

    πŸ‘¨πŸ» CLI tool to apply some useful git aliases

    This is an interactive process. You get to choose what you want

    npm create git-alias

    options

    --all

    Show all choices - even ones that are identical to the ones I have

    npm create git-alias --all
    

    --base <BASE_BRANCH>

    Base branch for scripts doing rebase and deleting current branches. Defaults to "master"

    aliases

    alias Description
    aliases print all git aliases
    back Reset to previous commit
    far fetch from remote "<BASE_BRANCH>" and rebase
    feature Create a branch starting with today's date
    fix add, amend the current commit and push some fixes
    from how many commit since
    get start a repo by remote URL
    l pretty log
    mend commit amend with no edits
    merged After remote merge, trash current branch and pull from "<BASE_BRANCH>"
    please git push <this_branch> --force-with-lease
    pruner prune aggressive
    purge remove local and remote branches (accepts many)
    root Change directory to repository root
    s Short status with branch name
    sum Generate a summary of pending changes
    trash Move to "<BASE_BRANCH>" and delete current local branch
    whereami What branch am I on?
    wip add everything, commit with a random commit message and push to remote origin
    yolo a commit with a random commit message from whatthecommit
    yolt amend commit with a random commit message from whatthecommit

    Install

    npm i create-git-alias

    DownloadsWeekly Downloads

    0

    Version

    1.4.2

    License

    Unlicense

    Unpacked Size

    11.9 kB

    Total Files

    11

    Last publish

    Collaborators

    • omrilotan