git rm --cached -r .lh/
git commit -m "Delete files"
git push
git rebase --continue
git rebase --abort
git merge --continue
git merge --abort
As soon as initial translation is completed, repos.git is ready to serve users. Pushes to repos.git will be translated to SVN and commits to SVN will be translated to Git.
Note, that repos.git is so called ‘bare’ Git repository, i.e. it does not contain working tree.
Install svn2git on a local workstation rather than the GitLab server
import java.nio.ByteBuffer;
import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;
public class Main {
public static void main(String[] args) {
byte[] rawBytes = Charset.forName("Windows-1251")
.encode("ГђВќГђВµ ГђВЅГђВ°").array();
String asUTF8 = StandardCharsets.UTF_8
.decode(ByteBuffer.wrap(rawBytes)).toString();
byte[] bytes = StandardCharsets.ISO_8859_1
.encode(asUTF8).array();
String result = StandardCharsets.UTF_8
.decode(ByteBuffer.wrap(bytes)).toString();
System.out.println(result); // Не на ...йден...?
}
}