Message boards :
Questions and problems :
Help: "git remote" doesn't work on Windows with git for windows commandline version
Message board moderation
Author | Message |
---|---|
Tetsuji Maverick Rai Send message Joined: 29 Aug 05 Posts: 8 ![]() |
Hi, I am trying to build the current version (7.8.3) of boinc client on Windows 10 instead of the latest prerelease 7.9.0. So I need to use tag. I'm new to git. I installed git for Windows 2.15.1.2 and set up with bash commandline version. "git clone <url> boinc" works fine, but when it comes to tag, git doesn't work as mentioned in the guide. I tried to set-url as the guide page (https://boinc.berkeley.edu/trac/wiki/SourceCodeGit) says: git remote set-url origin https://github.com/BOINC/boinc but git says Fatal: Not a git repository (or any of the parent directries): .git I tried git help remote set-url then, Edge opened and showed a help page, but there's no option "origin". All I can see is git remote set-url --add <name> <newurl> and git remote set-url --delete <name> <url> I suspect it's due to the version of git (mine is 2.15 while the guide uses 1.7.6). Anyway I have no idea what comes to <name>. How can I set remote url? Thanks in advance. -Tetsuji -Tetsuji Maverick Rai aka Weapon of Mass Distraction |
Richard Haselgrove Volunteer moderator Volunteer tester Help desk expert Send message Joined: 5 Oct 06 Posts: 2724 ![]() |
Speaking personally, I've always used the Windows GUI git tools, but command line principles should be the same. If you've cloned BOINC, you already have everything - master, all branches, all tags. From there, I export the code for tag 7.8.3 (or whatever), which gives me a single .zip file containing the code as at that version only. Then, I expand the zip into a new, separate, folder tree from where I can build, test modifications or anything else. Getting fixes back into the github source is another question entirely. Edit - should have said. v7.8.3 is a bit of a dog's breakfast, and is missing a lot of bugfixes which should have been included - you'll find a pull request from me (#2065) attempting to identify the fixes which were missed. Conversely, master (and hence 7.9.0) contains a lot of new development code which has never been tested: it doesn't surprise me it's broken. Best of luck. |
Copyright © 2018 University of California. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.