Narcos Posted October 16, 2020 Report Posted October 16, 2020 I have cloned a repo from git on ec2. now I want to get the latest file from git to ec2 any idea...using command line Quote
dewarist Posted October 16, 2020 Report Posted October 16, 2020 git pull will pull the latest changes. git fetch will update the list of changes. git status will check the status of the repo. Without the fetch first, you will not see remote changes. 1 Quote
tom brady Posted October 16, 2020 Report Posted October 16, 2020 Commit and push...if you arent familiar with git cli use github desktop or gitkraken Quote
Narcos Posted October 16, 2020 Author Report Posted October 16, 2020 3 minutes ago, dewarist said: git pull will pull the latest changes. git fetch will update the list of changes. git status will check the status of the repo. Without the fetch first, you will not see remote changes. i should do this on ec2 cli right? Quote
dewarist Posted October 16, 2020 Report Posted October 16, 2020 1 minute ago, Narcos said: i should do this on ec2 cli right? Yes, assuming that you have git cli installed. Since u cloned the repo, i think u have the cli already installed. Quote
Narcos Posted October 16, 2020 Author Report Posted October 16, 2020 3 minutes ago, dewarist said: Yes, assuming that you have git cli installed. Since u cloned the repo, i think u have the cli already installed. yup thanks bro Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.