Thread (9 messages) flat view 9 messages, 4 authors, 2016-06-15

Re: Merging non-git releases of a project

From: Björn Steinbrink <hidden>
Date: 2016-06-15 22:47:30

On 2009.10.10 10:47:42 +0200, Peter Baumann wrote:
On Fri, Oct 09, 2009 at 06:43:50PM -0400, Avery Pennarun wrote:
quoted
Try this:

   cd mygitproject
   git rm -rf .
   cp -a /tmp/wherever/vendor-1.2/. .
   git add .
This won't commit deleted files from v1.0 - v1.2. Use git add -A to stage all
modified and deleted files for the next commit.
It will, the "git rm" already cleans the index.

Björn
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help