DEV Community

Cover image for Getting started with Git day 03  😊.
Rafeek01
Rafeek01

Posted on

3

Getting started with Git day 03 😊.

*In day 04 I have learned *

  1. To create remote.
    git remote add remote-name https://(from server)

  2. To see created/available remote.
    git remote

  3. To see details about remote.
    git remote -v

  4. To push the code/file's to server
    git push **remote-name** branch-name

  5. To clone existing file from server's:
    git clone https:/(from server file)

  6. To push cloned update file to server:
    git push origin branch-name

origin is default remote of cloned file.


Have a great day 😊.

Top comments (0)

AWS GenAI LIVE image

How is generative AI increasing efficiency?

Join AWS GenAI LIVE! to find out how gen AI is reshaping productivity, streamlining processes, and driving innovation.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay