Re: svn Q: How do you put files in a sourceforge project?

new topic     » goto parent     » topic index » view thread      » older message » newer message
Jerry_Story said...

I have this much done. The question is how to put files in this project.

https://sourceforge.net/projects/dmak/

The book svn-book.pdf is as clear as mud to me. I did Google searches to find a clue but everything is as clear as mud to me. I tried 'svn import' a bunch of different ways but that didn't do anything. 'svn checkout' seemed to work but of course there is nothing to check out at this time.

I gotta either learn how to get started with svn or else remove the project from sourceforge and find a different home for it.

If you've done a checkout, then you've got a working copy. Move your files there, and let svn know about them using add:

  $ svn add * 
This will tell svn that the next commit should send these files. Try using the status command to see the changes since checkout:
  $ svn st 
Then, when you're ready go ahead and commit:
  $ svn ci -m "initial import of files" 
Note that 'ci' is the abbreviation for commit, and -m is for your commit message. If you set the environment variable SVN_EDITOR, you can write the message in whatever editor you specify. I have SVN_EDITOR set to nano, for instance.

Finally, update your working copy:

  $ svn up 
In general, update (up), status (st) and commit (ci) will account for the vast majority of your svn usage.

Matt

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu