Discussion:
Always ADD necessary (the first time) before COMMITs ?
Ben Stover
2009-12-09 19:05:40 UTC
Permalink
Assume I want to put new files into an existing remote CVS repository project.

I check out the project (=copying the existing files to the local hard disc).
Then I copy additional files to this local CVS directory.

How do I transfer/store these new files now to the remote repository as well?

Simply committing seems not to be enough (as far as I understand).
Because COMMIT only stores already existing files from local directory into repository.

So do I really have to ADD all new files the first time before COMMITing them later?

Ben
Rez P
2009-12-10 21:34:15 UTC
Permalink
Yes, you have to add new files and folders before committing them. You have introduced new subfolder structure under an existing project, it's easier to use the import command which combines both add and commit into one step but your new subfolder structure cannot contain existing files, if it does, you have to do add and commit subsequently.
Date: Wed, 9 Dec 2009 20:05:40 +0100
Subject: Always ADD necessary (the first time) before COMMITs ?
Assume I want to put new files into an existing remote CVS repository project.
I check out the project (=copying the existing files to the local hard disc).
Then I copy additional files to this local CVS directory.
How do I transfer/store these new files now to the remote repository as well?
Simply committing seems not to be enough (as far as I understand).
Because COMMIT only stores already existing files from local directory into repository.
So do I really have to ADD all new files the first time before COMMITing them later?
Ben
_________________________________________________________________
Windows Live Hotmail is faster and more secure than ever.
http://www.microsoft.com/windows/windowslive/hotmail_bl1/hotmail_bl1.aspx?ocid=PID23879::T:WLMTAGL:ON:WL:en-ww:WM_IMHM_1:092009
Loading...