Downloading the repository with changes #167287
Replies: 6 comments
-
|
Beta Was this translation helpful? Give feedback.
-
step 1: You, the project owner pushes your local project to GitHub properly git init step 2: Your colleague clones your repo git clone https://github.com/JasonsS2113/Horror-5.6.git step 3: Your Colleague Makes Changes git add . step 4: Your Colleague Pushes Changes Back (Requires Permission). To push changes, your colleague needs write access to your repository. Then your colleague can push: git push origin master step 5: If You Update Code and They Want to Pull New Changes git pull origin master |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
To get your repository changes, your colleague first clones it using git clone [repo_url]. Subsequently, they'll pull your latest updates with git pull origin main. To contribute, they'll make changes, then stage them with git add ., commit locally via git commit -m "message", and finally push them to the shared repository using git push origin main. |
Beta Was this translation helpful? Give feedback.
-
To allow your colleague to download your changes and contribute to your repository, you need to do these steps:
This will download your entire repo with all commits and files
If the main branch is protected, they should open a pull request on GitHub after pushing their branch |
Beta Was this translation helpful? Give feedback.
-
thank you all |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Question
Body
I made changes to my repository. How can my colleague download these changes through the git bash console, and how can he make changes to my repository? Please explain from start to finish.
Beta Was this translation helpful? Give feedback.
All reactions