Jump to content

any EC2 and git knowledge guys


Recommended Posts

Posted

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

Posted

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.

  • Thanks 1
Posted

Commit and push...if you arent familiar with git cli use github desktop or gitkraken

Posted
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?

Posted
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.

Posted
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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...