Wireshark mailing list archives
Re: Adding personal repository remote
From: Paul Offord <paul.offord58 () gmail com>
Date: Sun, 7 Feb 2021 12:41:10 +0000
Thanks Graham, You are quite right. Best regards...Paul On Sun, Feb 7, 2021 at 11:53 AM Graham Bloice <graham.bloice () trihedral com> wrote:
On Sun, 7 Feb 2021 at 11:03, Paul Offord <paul.offord58 () gmail com> wrote:Hi, I'm following the instructions here - 3.10. Contribute Your Changes (wireshark.org) <https://www.wireshark.org/docs/wsdg_html_chunked/ChSrcContribute.html> There is an instruction to double check my remotes: $ git remote -v $ downstream git () gitlab com:henry.perry/wireshark.git (fetch) $ downstream git () gitlab com:henry.perry/wireshark.git (push) $ upstream git () gitlab com:wireshark/wireshark.git (fetch) $ upstream git () gitlab com:wireshark/wireshark.git (push) But when I run the command I get: C:\Development\wireshark>git remote -v downstream git () gitlab com:paul.offord/wireshark.git (fetch) downstream git () gitlab com:paul.offord/wireshark.git (push) origin https://gitlab.com/wireshark/wireshark.git (fetch) origin https://gitlab.com/wireshark/wireshark.git (push) As you can see, the master name is different. Is this a problem?The name given to any remote is just that, a local name to refer to. Origin is the default if you didn't provide one when cloning the Wireshark repo, presumably you didn't follow the instructions in https://www.wireshark.org/docs/wsdg_html_chunked/ChSrcObtain.html#ChSrcGit closely enough that are (my bold): 3. Next, clone the Wireshark repository:# If you have a GitLab account, you can use the SSH URL:$ git clone -o upstream git () gitlab com:wireshark/wireshark.git # If you don't you can use the HTTPS URL: $ git clone -o upstream https://gitlab.com/wireshark/wireshark.gitThe clone only has to be done once. This will copy all the sources(including directories) from the server to your machine and check out the latest version. *The -o upstream flag uses the origin name “upstream” for the repository instead of the default “origin” as described in the GitLab documentation <https://docs.gitlab.com/ee/user/project/repository/forking_workflow.html>*. Cloning may take some time depending on the speed of your internet connection.You can adjust this using git remote: git remote rename origin upstreamThanks and regards...Paul -- Paul Offord-- Graham Bloice ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org ?subject=unsubscribe
-- Paul Offord
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- Adding personal repository remote Paul Offord (Feb 07)
- Re: Adding personal repository remote Graham Bloice (Feb 07)
- Re: Adding personal repository remote Paul Offord (Feb 07)
- Re: Adding personal repository remote Paul Offord (Feb 07)
- Re: Adding personal repository remote Paul Offord (Feb 07)
- Re: Adding personal repository remote Graham Bloice (Feb 07)