Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to commit modified file into repository

Tags:

unix

svn

I have a file in my repository that has been modified. i.e it shows 'M' next to the file when I hit 'svn st'. How do I get it to show an 'A' so I can svn commit it?

I've tried svn update "filename.c" and it doesn't do the trick.

thanks

like image 244
maxflow Avatar asked Oct 23 '11 02:10

maxflow


1 Answers

The 'A' status means, more or less, "this is a new file that is not in the repository yet but will be added to the repository in the next commit". You're getting an 'M' status (modified locally) so you just need to svn commit filename.c to get your changes into the repository.

The fine manual has a full list of the status codes that svn status uses:

http://svnbook.red-bean.com/en/1.0/re26.html

like image 181
mu is too short Avatar answered Oct 06 '22 00:10

mu is too short