anacoda下使用shell终端命令行和jupyter notebook中anacoda安装git-泓源视野

anacoda下使用shell终端命令行和jupyter notebook中anacoda安装git

在anacoda下使用!作为启动linux命令

如:  !python -V

查询python版本

使用命令 conda install git 安装git

jupyter 中使用git

本子太重不想来回带着跑,所以想在实验室电脑上把代码同步到git,之前一直用linux,没在windows上用过,记个笔记。

首先用conda安装个git

conda install git
之后一路“y”就好

jupyter 添加git项目

在想要的路径下克隆项目
首先在自己的git上复制URL
anacoda下使用shell终端命令行和jupyter notebook中anacoda安装git插图
jupyter新建一个terminal
anacoda下使用shell终端命令行和jupyter notebook中anacoda安装git插图1
在终端输入命令行,克隆git项目
anacoda下使用shell终端命令行和jupyter notebook中anacoda安装git插图2
输入后按提示输入帐户名密码即可。
之后终端对应路径下输入jupyter notebook,即可在jupyter中打开。
后续push 也和常规git操作一样

本文由 泓源视野 作者:admin 发表,其版权均为 泓源视野 所有,文章内容系作者个人观点,不代表 泓源视野 对观点赞同或支持。如需转载,请注明文章来源。
14

发表评论

Protected with IP Blacklist CloudIP Blacklist Cloud
您是第8234603 位访客, 您的IP是:[3.145.178.240]