ogit
A lazy developer's Git CLI made simple. Makes using git on cloud IDEs (i.e. C9) a walk in the park.
Last updated 19 days ago by shakil.siraj .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install ogit 
SYNC missed versions from official npm registry.

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.23.0 darwin-x64 node-v8.9.4
$ 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 reo

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

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 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 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 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

Current Tags

  • 1.24.0                                ...           latest (19 days ago)

8 Versions

  • 1.24.0                                ...           19 days ago
  • 1.23.0                                ...           24 days ago
  • 1.22.2                                ...           a month ago
  • 1.21.5                                ...           2 months ago
  • 1.21.3                                ...           8 months ago
  • 1.21.2                                ...           8 months ago
  • 1.21.1                                ...           8 months ago
  • 1.21.0                                ...           8 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 50
Dev Dependencies (15)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |