从特定存储库命令中提取最新提交

Pull latest commit from a specific repository command

我有一个带有一些存储库的 bitbucket 帐户,我想知道如何通过命令行提取最新的提交(源代码)。谢谢。

为了做到这一点。从 master 拉取最新的提交。这些是您需要提供的命令行。

git pull origin master

并且,检查特定的提交,

git checkout (commit-id)