[Section1, L3 ] Add a guide on how to pull changes after moving repository to LevelUp account
Closed this issue · 2 comments
Overview
This lecture needs update namely after moving the GH repository to LevelUpEducation GH account
Related Lecture
https://www.udemy.com/kubernetes-from-a-devops-kubernetes-guru/learn/v4/t/lecture/9624364?start=0
Related Question:
https://www.udemy.com/kubernetes-from-a-devops-kubernetes-guru/learn/v4/t/lecture/9624364?start=0
The repository was moved to LevelUp account:
Old Path : https://github.com/jleetutorial/kubernetes-demo
New Path : https://github.com/LevelUpEducation/kubernetes-demo
If you have already cloned the repository and you want to pull last changes, you will need to change the origin as follows:
git remote set-url origin https://github.com/LevelUpEducation/kubernetes-demo.git
git pull
or better remove the repository and clone it again:
cd ..
rm -rf kubernetes-demo
git clone https://github.com/LevelUpEducation/kubernetes-demo.git
@abdennour Thanks for reporting this.
I have updated the lecture as suggested.
But I don't think we need to update the remote of the git repo.
git will automatically redirect to https://github.com/LevelUpEducation/kubernetes-demo.git even if you run git pull
in an repo cloned previously.