Socket
Socket
Sign inDemoInstall

gitg

Package Overview
Dependencies
339
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    gitg

> exposes commands gitg and gitg-alias to help you with git branches navigation


Version published
Maintainers
1
Install size
29.5 MB
Created

Readme

Source

gitg

exposes commands gitg and gitg-alias to help you with git branches navigation

gitg command


print current branch

    gitg .

show recent branches used. (simply gitg without any parameter)

   gitg

checkout last branch (just like git checkout -)


   gitg -

 checkout searching recently used branches

   gitg --

 checkout while fuzzy searching (will fall back to interactive search if multiple options)

    gitg some_name

checkout with interatice search (find)

   gitg -f

print all repo roots you visited

   gitg @


gitg-alias command

gitg-alias name

  Will output the alias value for name

gitg-alias name value

  Will insert new entry or override existing one

gitg-alias <empty>

  Will list all existing aliases

gitg-alias --help

gitg-alias --open

  Opens the .gitg config file to edit aliases

gitg-alias --version

FAQs

Last updated on 28 Sep 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc