abeyang / Gracepoint-Minisite

Main website for Gracepoint Riverside
0 stars 1 forks source link

Moving files from Gracepoint-Minisite/dev/ to Gracepoint-Minisite/ #46

Closed abeyang closed 12 years ago

abeyang commented 12 years ago

Is there a easy way to batch move all the files up one directory?

(I thought about keeping a "development" directory alive for testing purposes, but with all the different files -- especially for events -- it seems less and less worth it.)

john-cai commented 12 years ago

You just need to move the files? from www/Gracepoint-Minisite/ you can do

cp -R dev/* .

John Cai Sent with Sparrow (http://www.sparrowmailapp.com/?sig)

On Friday, September 21, 2012 at 12:42 AM, Abe Yang wrote:

Is there a easy way to batch move all the files up one directory? (I thought about keeping a "development" directory alive for testing purposes, but with all the different files -- especially for events -- it seems less and less worth it.)

— Reply to this email directly or view it on GitHub (https://github.com/abeyang/Gracepoint-Minisite/issues/46).

abeyang commented 12 years ago

Well, that's fine right now, but to keep doing continual updates… that's gonna be painful.

What I want is to do a mass "mv" from dev to the parent directory, but ensuring that git's history remains intact. For example, if you just do a unix "mv" command, what shows up on git -- I believe -- is:

rm Gracepoint-Minisite/dev/filename add rm Gracepoint-Minisite/filename

On Sep 21, 2012, at 7:09 AM, jcai2008 notifications@github.com wrote:

You just need to move the files? from www/Gracepoint-Minisite/ you can do

cp -R dev/* .

John Cai Sent with Sparrow (http://www.sparrowmailapp.com/?sig)

On Friday, September 21, 2012 at 12:42 AM, Abe Yang wrote:

Is there a easy way to batch move all the files up one directory? (I thought about keeping a "development" directory alive for testing purposes, but with all the different files -- especially for events -- it seems less and less worth it.)

— Reply to this email directly or view it on GitHub (https://github.com/abeyang/Gracepoint-Minisite/issues/46).

— Reply to this email directly or view it on GitHub.

john-cai commented 12 years ago

Oh, well I'm pretty sure git has a mv command, I'll look it up and let you know

John

On Sep 21, 2012, at 9:08 AM, Abe Yang notifications@github.com wrote:

Well, that's fine right now, but to keep doing continual updates… that's gonna be painful.

What I want is to do a mass "mv" from dev to the parent directory, but ensuring that git's history remains intact. For example, if you just do a unix "mv" command, what shows up on git -- I believe -- is:

rm Gracepoint-Minisite/dev/filename add rm Gracepoint-Minisite/filename

On Sep 21, 2012, at 7:09 AM, jcai2008 notifications@github.com wrote:

You just need to move the files? from www/Gracepoint-Minisite/ you can do

cp -R dev/* .

John Cai Sent with Sparrow (http://www.sparrowmailapp.com/?sig)

On Friday, September 21, 2012 at 12:42 AM, Abe Yang wrote:

Is there a easy way to batch move all the files up one directory? (I thought about keeping a "development" directory alive for testing purposes, but with all the different files -- especially for events -- it seems less and less worth it.)

— Reply to this email directly or view it on GitHub (https://github.com/abeyang/Gracepoint-Minisite/issues/46).

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub.