Skip to content
/ gco Public

Script for git clone project and opening it in specified JetBrains IDE

Notifications You must be signed in to change notification settings

lgg/gco

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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