- Create a repo called my-app in Github
- npx create-react-app my-app --template typescript
- git remote add origin https://github.com/<YOUR-GIT-NAME>/my-app.git
- Control panel --> Credential manager --> Windows credentials --> remove all Git credentials (otherwise, you will get 403)
- git config user.name "<YOUR-NAME>"
- git config user.email <EMAIL-ADDRESS>
- git config -e
- git checkout -b main
- git branch -D master
- git branch
- git fetch origin main
- git pull origin main --allow-unrelated-histories
- Fix all merge conflicts through VS Code
- git commit
- git push --set-upstream origin main
To install the latest version: curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" curl -LO "https://dl.k8s.io/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl.sha256" echo "$(<kubectl.sha256) kubectl" | sha256sum --check sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl kubectl version --client kubectl version To install a specific (v1.19.0) version: curl -LO "https://dl.k8s.io/release/v1.19.0/bin/linux/amd64/kubectl" curl -LO "https://dl.k8s.io/v1.19.0/bin/linux/amd64/kubectl.sha256" echo "$(<kubectl.sha256) kubectl" | sha256sum --check sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl kubectl version --client kubectl version This will install kubectl client. Run minikube start to install kubectl server.
Comments
Post a Comment