ogit
    TypeScript icon, indicating that this package has built-in type declarations

    1.28.0 • Public • Published

    ogit

    A lazy developer's Git CLI made simple. Makes using git on cloud IDEs (i.e. C9) a walk in the park.

    oclif Version Downloads/week License

    Usage

    $ npm install -g ogit
    $ ogit COMMAND
    running command...
    $ ogit (-v|--version|version)
    ogit/1.28.0 darwin-x64 node-v12.13.0
    $ ogit --help [COMMAND]
    USAGE
      $ ogit COMMAND
    ...

    Commands

    ogit amend-last-commit

    Amends the last commit to repo

    USAGE
      $ ogit amend-last-commit
    

    See code: src/commands/amend-last-commit.ts

    ogit autocomplete [SHELL]

    display autocomplete installation instructions

    USAGE
      $ ogit autocomplete [SHELL]
    
    ARGUMENTS
      SHELL  shell type
    
    OPTIONS
      -r, --refresh-cache  Refresh cache (ignores displaying instructions)
    
    EXAMPLES
      $ ogit autocomplete
      $ ogit autocomplete bash
      $ ogit autocomplete zsh
      $ ogit autocomplete --refresh-cache
    

    See code: @oclif/plugin-autocomplete

    ogit checkout-repo URL

    Checkout a git repo into current directory

    USAGE
      $ ogit checkout-repo URL
    
    ARGUMENTS
      URL  URL of git repository
    

    See code: src/commands/checkout-repo.ts

    ogit clear-stash

    Clears all the stashes in the local repos

    USAGE
      $ ogit clear-stash
    

    See code: src/commands/clear-stash.ts

    ogit clone-repo

    Clones a remote repo

    USAGE
      $ ogit clone-repo
    
    OPTIONS
      -l, --list    List branches and tags
      -s, --search  Search through branches and tags
    

    See code: src/commands/clone-repo.ts

    ogit commit-changes

    Commit all the uncommitted changes to repo

    USAGE
      $ ogit commit-changes
    
    OPTIONS
      --noSummary  Do not display commit summary
    

    See code: src/commands/commit-changes.ts

    ogit create-branch

    Creates a new local branch from a remote branch

    USAGE
      $ ogit create-branch
    
    OPTIONS
      -s, --search
    

    See code: src/commands/create-branch.ts

    ogit create-tag

    Tags the current repository. Does annotated tagging only

    USAGE
      $ ogit create-tag
    

    See code: src/commands/create-tag.ts

    ogit delete-branch

    Deletes a branch from the repo

    USAGE
      $ ogit delete-branch
    

    See code: src/commands/delete-branch.ts

    ogit delete-last-commit

    Deletes the last commit to repo, changes are removed from the file system

    USAGE
      $ ogit delete-last-commit
    

    See code: src/commands/delete-last-commit.ts

    ogit delete-stash

    Deletes a list of stashes in the repo

    USAGE
      $ ogit delete-stash
    

    See code: src/commands/delete-stash.ts

    ogit delete-tag

    Deletes a tag from local and remote repo

    USAGE
      $ ogit delete-tag
    

    See code: src/commands/delete-tag.ts

    ogit display-branches

    Lists the branches within the current repo

    USAGE
      $ ogit display-branches
    

    See code: src/commands/display-branches.ts

    ogit display-changes

    Display all the uncommitted changes

    USAGE
      $ ogit display-changes
    
    ALIASES
      $ ogit status
    

    See code: src/commands/display-changes.ts

    ogit generate-ssh-keys

    Generates SSH key pairs to authenticate the user. For Windows OS, requires git bash to be pre-installed and run as administrator for this command

    USAGE
      $ ogit generate-ssh-keys
    

    See code: src/commands/generate-ssh-keys.ts

    ogit help [COMMAND]

    display help for ogit

    USAGE
      $ ogit help [COMMAND]
    
    ARGUMENTS
      COMMAND  command to show help for
    
    OPTIONS
      --all  see all commands in CLI
    

    See code: @oclif/plugin-help

    ogit merge-remote-branches

    Merges two remote branches

    USAGE
      $ ogit merge-remote-branches
    
    OPTIONS
      -s, --search
    

    See code: src/commands/merge-remote-branches.ts

    ogit pull-remote-changes

    Pull remote changes from a branch and merge

    USAGE
      $ ogit pull-remote-changes
    
    OPTIONS
      -s, --search
      -t, --trackingOnly
    

    See code: src/commands/pull-remote-changes.ts

    ogit push-commits

    Pushes local commits to the remote repo

    USAGE
      $ ogit push-commits
    

    See code: src/commands/push-commits.ts

    ogit push-tag

    Pushes local tag(s) to origin

    USAGE
      $ ogit push-tag
    
    OPTIONS
      -a, --all=all  all the local tags
    

    See code: src/commands/push-tag.ts

    ogit rename-branch

    Renames a local branch to a new one

    USAGE
      $ ogit rename-branch
    
    OPTIONS
      -s, --search
    

    See code: src/commands/rename-branch.ts

    ogit reset-head

    Resets the current HEAD to a branch or tag

    USAGE
      $ ogit reset-head
    

    See code: src/commands/reset-head.ts

    ogit revert-changes

    Reverts an uncommitted change

    USAGE
      $ ogit revert-changes
    

    See code: src/commands/revert-changes.ts

    ogit revert-last-commit

    Reverts the last commit to repo, changes are left on the file system

    USAGE
      $ ogit revert-last-commit
    

    See code: src/commands/revert-last-commit.ts

    ogit stash-changes

    Stashes the changes in the workspace

    USAGE
      $ ogit stash-changes
    

    See code: src/commands/stash-changes.ts

    ogit switch-branch

    Switches the current branch to another local branch

    USAGE
      $ ogit switch-branch
    

    See code: src/commands/switch-branch.ts

    ogit unstash-changes

    Applies the stashed changes back into workspace

    USAGE
      $ ogit unstash-changes
    

    See code: src/commands/unstash-changes.ts

    Install

    npm i ogit

    DownloadsWeekly Downloads

    10

    Version

    1.28.0

    License

    MIT

    Unpacked Size

    174 kB

    Total Files

    83

    Last publish

    Collaborators

    • shakil.siraj