*In day 04 I have learned *
To create remote.
git remote add remote-name https://(from server)
To see created/available remote.
git remote
To see details about remote.
git remote -v
To push the code/file's to server
git push **remote-name** branch-name
To clone existing file from server's:
git clone https:/(from server file)
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)