!git config --global user.email "[email protected]"
# 出现一些类似 warning: LF will be replaced by CRLF in <file-name>. 可启用如下设置。
!git config --global core.autocrlf false
# 配置打印历史commit的快捷命令
!git config --global alias.lg "log --oneline --graph --all"
!git init
!git add ./data/* *.md
!git rm ./.ipynb_checkpoints/*
!git commit -m"add chapter2"
!git remote rm origin
!git remote add origin https://github.com/lyhue1991/eat_tensorFlow2_in_30days
#!git pull origin master
!git push origin master