Skip to content
Andrey Vakhterov edited this page Jul 14, 2017 · 2 revisions

git

ws git can:

  • clone remote repo
  • checkout branch or commit
  • fetch changes from remote repo
  • authorize by login:pass
  • show list of branches
  • show log
  • remove git repo

ws git can not:

  • create local repo
  • create branches
  • add or show remotes
  • create local branches
  • commit and push

commands

all commands works in selected workspace folder (use /ws set (name) to change workspace)

  • /ws git clone (url) [name]
    clone repository to new workspace folder
    with cli: git clone $url $name
  • /ws git branch [remote|all]
    show list of branches
    with cli: git branch or git branch --remote or git branch --all
  • /ws git log [ref]
    show log
    with cli: git log --pretty=oneline --all or git log --pretty=oneline $ref
  • /ws git checkout (ref)
    checkout local or remote branch or commit
    with cli: git checkout $ref
  • /ws git fetch (remote)
    fetch command. It does not change your HEAD with cli: git fetch $remote
  • /ws git delete [name]
    remove git repo
    with cli: rm -rf $name/.git

Clone this wiki locally