Skip to content

Latest commit

 

History

History
52 lines (36 loc) · 1.55 KB

README.md

File metadata and controls

52 lines (36 loc) · 1.55 KB

gco script

Script for git clone and open project in specified JetBrains IDE

Installation

Create Command-line Launcher for JetBrains IDE

Install script

  • add gco script to ~/.local/bin/
  • add bash aliases vi ~/.bash_aliases
  • add needed commands, e.g:
alias gcow='gco -w'
alias gcop='gco -p'

Usage

  • Help: gco -h
  • gco -APP URL FOLDER

By default this script converts any git_url to ssh url (git@), to avoid this: use -o flag

  • gco -APP -o URL FOLDER

Usage examples

  • gco -w URL FOLDER
  • gco -p URL FOLDER
  • gco -p -o URL FOLDER
  • gco -o -w URL FOLDER

Usage examples with bash aliases

  • gcow URL FOLDER
  • gcow -o URL FOLDER

License

  • MIT, 2019, lgg