Deploying the app and github query
Answered
Aq posted this in #help-forum
AqOP
Hey so I am working on a project. I have access to my project's private fork which I cloned it and then gave access to my friend(who doesn't have direct access) to do some of my work for me. They deployed the project and it's working perfectly in the private cloned repo where only we both have the access. Now how do I migrate the work done their to my main project fork and then deploy it from my end then push it with other stuff? I am not good with these stuff.
16 Replies
@Aq Hey so I am working on a project. I have access to my project's private fork which I cloned it and then gave access to my friend(who doesn't have direct access) to do some of my work for me. They deployed the project and it's working perfectly in the private cloned repo where only we both have the access. Now how do I migrate the work done their to my main project fork and then deploy it from my end then push it with other stuff? I am not good with these stuff.
he can make a pull request and then you need to check his code and may or may not accept his code. If you accept it, his code will be merged in the github repo
@B33fb0n3 he can make a pull request and then you need to check his code and may or may not accept his code. If you accept it, his code will be merged in the github repo
AqOP
But there are 2 different repos. One for the fork of official project and one for both of us. The works is done on our end. Now I want to transfer it to the project end fork and create a pull request to my senior. But before doing that I want to deploy it on my end. I just copy pasted and replaced the files from my friend to the fork but it didn't work out ( I may be stupid here)
It runs into error
Like downloading the code and just pasting it won't work right?
If I'm understanding the issue here, these are the repositories:
and you want to bring repo 3's changes into repo 2? Your friend should be able to just make a pull request into repo 2 (your clone of the official repo) and then you can build the project
Repo 1: Official Project (private, only you have access)
- Repo 2: Fork of Repo 1 (your clone)
- Repo 3: Fork of Repo 2 (your friend's changes)and you want to bring repo 3's changes into repo 2? Your friend should be able to just make a pull request into repo 2 (your clone of the official repo) and then you can build the project
or, if these are the repositories:
your friend should commit & push their changes to repo 2 (your clone of the official repo) and then you could pull their changes down onto your computer
Repo 1: Official Project (private, only you have access)
- Repo 2: Fork of Repo 1 (your clone)
- Clone 1: the clone of repo 2 on your computer
- Clone 2: the clone of repo 2 with your friend's changes on their computeryour friend should commit & push their changes to repo 2 (your clone of the official repo) and then you could pull their changes down onto your computer
@Camuise If I'm understanding the issue here, these are the repositories:
yaml
Repo 1: Official Project (private, only you have access)
- Repo 2: Fork of Repo 1 (your clone)
- Repo 3: Fork of Repo 2 (your friend's changes)
and you want to bring repo 3's changes into repo 2? Your friend should be able to just make a pull request into repo 2 (your clone of the official repo) and then you can build the project
AqOP
Sorry it's a bit complicated 😭
Their's repo 1 private only I have access.
Repo 2 (clone of repo 1 where the changes were made)
My friend only has access to repo 2. I want to take the changes from 2 apply it to 1 and then push it to main project
Repo 2 (clone of repo 1 where the changes were made)
My friend only has access to repo 2. I want to take the changes from 2 apply it to 1 and then push it to main project
did your friend push their changes to repo 2 yet?
if so the you can just
git pull origin in your clone of repo 2Answer
and then you can do whatever you need from there
@Camuise and then you can do whatever you need from there
AqOP
I'll try it out thanks. How doni close this thread
@Aq I'll try it out thanks. How doni close this thread
Which answer is the solution?
@Aq I'll try it out thanks. How doni close this thread
AqOP
The one by camuise
@B33fb0n3
@Aq The one by camuise
then just mark it as solution: https://cdn.discordapp.com/attachments/1043615796787683408/1117191182133501962/image.png?ex=669f6c1e&is=669e1a9e&hm=0f4e2d1f6fb25ba10bf38e3172510f0777e4ddf3ae06f9345796282e44a6a71a&
And then the thread is closed 👍
And then the thread is closed 👍