Git Tutorial #32 - Git remote

in #tutorials6 years ago

Hello everyone I hope you are very well! 😊 😎

In this post we will explain the $ git remote command and for what it is useful

After we have created our github repository and want to publish changes from our local environment, the first thing we must do is configure the repository URL in github through the $ git remote command

We have to create a connection between your local repository and your remote repository so you can share it with the community. For this we are going to use a new command that in this case is git remote. By convention we name it "origin". To delete it we can use git remote remove and the name of the repository.

  • git remote add [origin] [SSH / HTTPS] Connect a repository with our local machine.
  • git remote -v Lists the existing connections.
  • git remote remove [origin] Removes a connection with some repository.

Well with that, we will have configured our remote repository with the local and we are ready to start publishing changes and everyone can see our code and be able to contribute to our project.

Regards!! 😋 😋

Sort:  

Excelente post amigo información valiosa...Nos enseñas un poco mas en cada articulo sigue así éxitos.

Este Post ha recibido un Upvote desde la cuenta del King: @dineroconopcion, El cual es un Grupo de Soporte mantenido por 5 personas mas que quieren ayudarte a llegar hacer un Top Autor En Steemit sin tener que invertir en Steem Power. Te Gustaria Ser Parte De Este Projecto?

This Post has been Upvote from the King's Account: @dineroconopcion, It's a Support Group by 5 other people that want to help you be a Top Steemit Author without having to invest into Steem Power. Would You Like To Be Part of this Project?

Congratulations @juanpchica! You have received a personal award!

1 Year on Steemit
Click on the badge to view your Board of Honor.

Do not miss the last post from @steemitboard:
SteemitBoard World Cup Contest - France vs Croatia


Participate in the SteemitBoard World Cup Contest!
Collect World Cup badges and win free SBD
Support the Gold Sponsors of the contest: @good-karma and @lukestokes


Do you like SteemitBoard's project? Then Vote for its witness and get one more award!

Congratulations @juanpchica! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 2 years!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Vote for @Steemitboard as a witness to get one more award and increased upvotes!

Coin Marketplace

STEEM 0.29
TRX 0.12
JST 0.032
BTC 62349.28
ETH 3026.88
USDT 1.00
SBD 3.67