DEV Community

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

Posted on

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)