[英]Update a local repo with Git (Bitbucket)
I switched recently to a Bitbucket/git system to work on my code, and i'm having some troubles understanding. 我最近改用Bitbucket / git系统来处理我的代码,但在理解上有些麻烦。
Here what I did: 这是我做的:
But now, it may be very simple, but I don't know how I get back my modifications I push (the latest commits) on my computer A... 但是现在,这可能非常简单,但是我不知道如何取回我在计算机A上推送(最新提交)的修改。
I tried forking as written on the doc, but it's creating another repo... I don't get it :( 我尝试按照文档中的说明进行分叉,但它正在创建另一个存储库...我不明白:(
Thank you for replying! 多谢您的回覆!
You need to pull your changes in your local repo on computer A. Run the following (assuming your branch name is master) 您需要在计算机A的本地存储库中进行更改。运行以下命令(假设您的分支名称为master)
git pull origin master
For a basic guide to git, check out http://rogerdudler.github.io/git-guide/ 有关git的基本指南,请访问http://rogerdudler.github.io/git-guide/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.