https://bugs.kde.org/show_bug.cgi?id=359986
Bug ID: 359986 Summary: Issue in Git Remote Prefix section in the build document Product: kdesrc-build Version: unspecified Platform: Ubuntu Packages URL: https://community.kde.org/Frameworks/Building OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: documentation Assignee: mp...@kde.org Reporter: pgundlupetvenkat...@mail.csuchico.edu OS: Ubuntu 15.10 x64 Product: KDevelop5 Within "Git remote prefix" section, to setup 'kde:' prefix for git command we have to add the following text to ~/.gitconfig file. <syntaxhighlight lang="ini"> [url "git://anongit.kde.org/"] insteadOf = kde: [url "ssh://g...@git.kde.org/"] pushInsteadOf = kde: </syntaxhighlight> When saved the above text into .gitconfig file and executed "git clone kde:kdesrc-build extragear/utils/kdesrc-build" line in the terminal logging in as root user, error throws up saying fatal: bad config file line 4 in /home/<user>/.gitconfig when I remove the tags "<syntaxhighlight lang="ini">" and "</syntaxhighlight>" and run it again its clones. Reproducible: Always Steps to Reproduce: 1. Get all the above dependencies before coming to this step and install git. 2. within ~/.gitconfig file, paste the text as is said in the 'Git remote prefix' section and save the file. 3. switch as root user and continue to the next section "Clone kdesrc-build" 4. "git clone kde:kdesrc-build extragear/utils/kdesrc-build" command will fail. Actual Results: fatal: bad config file line 4 in /home/<user>/.gitconfig Expected Results: Cloning into 'extragear/utils/kdesrc-build'... remote: Counting objects: 6845, done. remote: Compressing objects: 100% (2419/2419), done. remote: Total 6845 (delta 4336), reused 6616 (delta 4194) Receiving objects: 100% (6845/6845), 1.76 MiB | 380.00 KiB/s, done. Resolving deltas: 100% (4336/4336), done. Checking connectivity... done. Removing tag <syntaxhighlight> in .gitconfig file cloned the kdesrc-build. -- You are receiving this mail because: You are watching all bug changes.