neozhu / CleanArchitectureWithBlazorServer

This is a repository for creating a Blazor Server dashboard application following the principles of Clean Architecture
https://architecture.blazorserver.com/
MIT License
769 stars 217 forks source link

[Question] Fetching from remote to local #714

Closed amalsharief closed 1 month ago

amalsharief commented 1 month ago

Hi, Thank you for the brilliant work. I am new to git. When I create a new project via

dotnet new ca-blazorserver-sln -n CleanGit

Is it possible to connect my local repository to the remote https://github.com/neozhu/CleanArchitectureWithBlazorServer to get all changes pull requests to the local repo? If yes, how can I do that?

Thank you

amalsharief

neozhu commented 1 month ago

I don't think so. You can only merge the code manually. I think it will take some effort to do so.

rwxzig commented 1 month ago

You can use this command to add a new remote: git remote add cleanarch https://github.com/neozhu/CleanArchitectureWithBlazorServer.git Note that cleanarch is the name of the remote and you can call that whatever you want.

And then you can use git fetch/pull remote cleanarch to pull from it. But then, as @neozhu mentioned, you need to fix the merge conflicts manually, unless you want to have the code exactly as the original.

amalsharief commented 1 month ago

Thank you all for the quick response.

On Mon, 29 Jul 2024 at 4:13 PM Zig @.***> wrote:

You can use this command to add a new remote: git remote add cleanarch https://github.com/neozhu/CleanArchitectureWithBlazorServer.git Note that cleanarch is the name of the remote and you can call that whatever you want.

And then you can use git fetch/pull remote cleanarch to pull from it. But then, as @neozhu https://github.com/neozhu mentioned, you need to fix the merge conflicts manually, unless you want to have the code exactly as the original.

— Reply to this email directly, view it on GitHub https://github.com/neozhu/CleanArchitectureWithBlazorServer/issues/714#issuecomment-2256058973, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABGPZ4SHT2MLTKY7O6N56R3ZOZEW5AVCNFSM6AAAAABLUKQYGCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJWGA2TQOJXGM . You are receiving this because you authored the thread.Message ID: @.*** com>

Bram1903 commented 1 month ago

@amalsharief, did this answer your question?

amalsharief commented 1 month ago

Yes, thank you

On Mon, 12 Aug 2024 at 2:48 PM Bram @.***> wrote:

@amalsharief https://github.com/amalsharief, did this answer your question?

— Reply to this email directly, view it on GitHub https://github.com/neozhu/CleanArchitectureWithBlazorServer/issues/714#issuecomment-2283894146, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABGPZ4XT3GJQKVFEBDHUZILZRCVIDAVCNFSM6AAAAABLUKQYGCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOBTHA4TIMJUGY . You are receiving this because you were mentioned.Message ID: @.*** com>