tj / git-extras

GIT utilities -- repo summary, repl, changelog population, author commit percentages and more
MIT License
17.2k stars 1.2k forks source link

FR: clone #434

Open hemanth opened 8 years ago

hemanth commented 8 years ago

Something on the lines of lazyclone will be useful?

//cc @spacewander

spacewander commented 8 years ago

You mean we can write a command called git lazyclone with this skill?

hemanth commented 8 years ago

No, another command in git-extars like git-clone

spacewander commented 8 years ago

@hemanth What should we name it? Is git-get short enough for lazy guy?

hemanth commented 8 years ago

heh heh nice, yeah :+1:

spacewander commented 8 years ago

Terribly, I just figured out we can't change user's pwd in a shell script, unless we put the function in .bashrc

hemanth commented 8 years ago

well, we are just cloning the repo here ain't we?

spacewander commented 8 years ago

Yes, cloning the repo may be the only thing we can do... Since change the pwd of parent shell(used in a tty) is impossible in a subshell(running our script), they are difference processes.