SVN:externals equivalent in Git?
I have two SVN projects in use from another SVN repository using svn:externals. How can I have the same repository layout structure in Git? 3 Answers 3
I have two SVN projects in use from another SVN repository using svn:externals. How can I have the same repository layout structure in Git? 3 Answers 3
For many Subversion operations, appending the ‘@’ symbol to the end of a file or URL argument allows you to target a specific revision of that file. For example, “svn info test.txt@1234” will give information about test.txt as it existed in revision 1234. However, when the name of the file contains an @, it is … Read more
I have a file as shown below in an SVN repo that I would like to revert to a previous version. What is the way to do this in SVN? I want only downgrade this particular file to an older version, not the whole repo. Thanks. $ svn log myfile.py ———————- r179 | xx | … Read more
I have an SVN working directory. I made some changes in that directory, and it shows in svn status. But is there any way for me to remove all my changes in there and just get everything from the trunk using the command line? 10 Answers 10
Typing svn log spits out an incredibly long, useless list on a command line. I have no idea why that is the default. If I wanted to read (or even could read) 300 entries on the terminal, I wouldn’t mind typing svn log –full or something similar. Perhaps the SVN guys are thinking I wanted … Read more
I was in the middle of doing a recursive svn add/commit, and a folder which did not have the proper ignore properties was included. I’ve got about 100 uploaded binary files versioned now, but I haven’t committed yet. What is the easiest way to ‘undo’ this, without deleting all the documents? 5 Answers 5
I wanted to submit a diff for review, for an Open Source Project. I got the code using SVN (from terminal, Ubuntu). And I did minor edits in few files. Now there is only a single change I want to submit. Rest of the changes I made, were for debugging, and are no longer required. … Read more
How can I “delete” a file which is already in the SVN repository without deleting it from my file system? TortoiseSVN or command line instructions are welcome. The following works, but I am hoping for something nicer: Copy the file to some other location outside the repository. SVN Delete the file. Commit Copy the files … Read more
Recently our svn server was changed and we did a svn switch. Since the working copy had a huge amount of unversioned resources, the working copy got locked and we started switching folder by folder for all folders under svn, which works perfectly fine. But at the top most level of the repository, when I … Read more
I’m using TortoiseSVN against the SourceForge SVN repository. I’d like to move a file from one folder to another in order to maintain its revision history. Is this possible? If so, how do you do it? (My current strategy has been to copy the file into the new folder and check it in and then … Read more