[Git] learning notes-simple remote operation commands

Source: Internet
Author: User
Git fetch update project git push share change git Remote Management remote repository git remote list remote aliases: $ git remoteorigin only lists aliases of remote repositories, for clone, the default name is generally origin $ git remote-vorigin https://github.com/sshwsfc/django-xadmin.git (FETCH) origin https://github.com/sshwsfc/django-xadmin.git (push) view the actual connection address for each alias git remote Add add Add a new remote repository git remote add origin https://github.com/orangle/study_code.gitgit remote RM delete an existing alias git fetch download new branch and data from the remote repository then git merge manually merge the GIT pull branch to extract data from the remote warehouse and try to merge the data to the current branch to view the commit log of the master branch: git log origin/Master push local repository updates to remote repository git push-u origin master

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.