Standard escape codes are prefixed with Escape
:
- Ctrl-Key:
^[
- Octal:
\033
- Unicode:
\u001b
- Hexadecimal:
\x1B
- Decimal:
27
Gitlab exports a tar.gz file which contains a file called project.bundle. We can convert this file into a normal git repo using the following steps:
$ tar xvfz GitLabExport.gz
#!/usr/bin/perl | |
# [email protected] | |
use Data::Dumper; | |
my $d={}; | |
while(<STDIN>) { | |
chomp; | |
next if(/^$/); | |
@bits = split(/\//, $_); | |
$last = pop(@bits); | |
$dr = $d; |