linuxmint / doc-developer-guide

The Linux Mint Developer Guide
20 stars 18 forks source link

Tutorial: Version Control section: after git clone: no repository detected #3

Open AMDphreak opened 4 years ago

AMDphreak commented 4 years ago

Tutorial instructions don't work in the Version control section:

apt update
apt install gitk
cd ~/Sandbox/
git clone https://github.com/linuxmint/mintsystem.git
gitk

Git clone runs and copies but no repository is detected later.

Actual command line output:

Git clone:

ryan@ryan-ADATA:~/Sandbox$ git clone https://github.com/linuxmint/mintsystem.gitCloning into 'mintsystem'...
remote: Enumerating objects: 23, done.
remote: Counting objects: 100% (23/23), done.
remote: Compressing objects: 100% (19/19), done.
remote: Total 1878 (delta 3), reused 10 (delta 2), pack-reused 1855
Receiving objects: 100% (1878/1878), 663.55 KiB | 4.37 MiB/s, done.
Resolving deltas: 100% (626/626), done.

Gitk:

ryan@ryan-ADATA:~/Sandbox$ gitk

(image is same as above) image

Gitg:

gitg also reports an error, so the problem is with the git clone, somehow.

ryan@ryan-ADATA:~/Sandbox$ gitg

(gitg:20674): GLib-GIO-CRITICAL **: 13:22:40.821: g_converter_convert: assertion 'outbuf_size > 0' failed

** (gitg:20674): WARNING **: 13:22:40.821: gitg-resource.vala:33: Error while loading resource: style-unix.css:1:0Failed to import: The resource at “/org/gnome/gitg/ui/style-unix.css” failed to decompress

image

AMDphreak commented 4 years ago

OK I tried gitk mintsystem thinking gitk would look inside the mintsystem folder, but this is not what it does. It requires you to be inside the directory to work.

Instructions should be changed to add this after git clone:

cd mintsystem
gitk

Submitting a PR