gita icon indicating copy to clipboard operation
gita copied to clipboard

Gita clone -g should create group if not exists.

Open vunhatchuong opened this issue 1 year ago • 2 comments

My plan is to make a install.sh script to setup my project. It would be nice to have the ability to make a new group if it doesn't exist.

❯ gita clone -f gita-config-http -g test
usage: gita clone [-h] [-C DIRECTORY] [-p] [-n] [-g {DAA} | -f] clonee
gita clone: error: argument -g/--group: invalid choice: 'test' (choose from 'DAA')

vunhatchuong avatar Jul 26 '23 07:07 vunhatchuong

thanks, this is a good point

nosarthur avatar Jul 26 '23 11:07 nosarthur

I am working on this case #271 such that gita freeze would save the group information as well. When that works, the -g option via gita clone would overwrite the original group information

nosarthur avatar Apr 02 '24 02:04 nosarthur