我创建了一个分支b1,并对它进行了一些更改,然后将其推送到远程存储库:
git branch b1
git checkout b1
git add newfile.txt
git commit -m "adding a new file"
git push origin b1
Run Code Online (Sandbox Code Playgroud)
在连接到远程存储库的另一台机器上,我尝试拉分支而不将其与master合并:
$git branch
*master
$git pull origin b1
remote: Counting objects: 4, done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 3 (delta 1), reused 0 (delta 0)
Unpacking objects: 100% (3/3), done.
From sl*******02:/opt/git/projet1
* branch b1 -> FETCH_HEAD
Updating fca3b48..1d96ceb
Fast-forward
newfile.txt | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
create mode 100644 …Run Code Online (Sandbox Code Playgroud) 我已经在我的 Linux 机器上安装了 Anaconda 4.2.9,并且我与几个开发人员一起使用它,我们在离线模式下工作,因此我们需要从 Conda 存储库下载每个包,然后手动安装。
我们现在面临一些软件包之间的兼容性问题。所以我想知道给定的软件包是从哪个渠道安装的。当我运行时conda list,我只能看到我创建的本地频道:
sas7bdat 2.0.6 py35_0 file:///opt/Anaconda/Anaconda3-4.2.0/channel
scikit-image 0.12.3 np111py35_1
scikit-learn 0.17.1 np111py35_2
scipy 0.18.1 np111py35_0
Run Code Online (Sandbox Code Playgroud)