1 Star 0 Fork 0

Ultron / typora云笔记

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
git设置自动提交.md 925 Bytes
一键复制 编辑 原始数据 按行查看 历史
Ultron 提交于 2020-08-11 09:56 . Auto commit typora Notes.

1. windows 自动提交脚本

autocommit.bat

@echo off
@title bat execute git auto commit

cd D:\phpStudy\WWW\s73\exercise\PHP Review\html\demo12\testgit\lianshou
git add .
git commit -m "Auto commit."
git push origin master

2. windows自动拉取

autopull.bat

@echo off
@title bat execute git auto pull

cd D:\phpStudy\WWW\s73\exercise\PHP Review\html\demo12\testgit\lianshou
git pull origin master

3. 简易的命令行入门教程:

Git 全局设置:
git config --global user.name "Ultron"
git config --global user.email "2548880572@qq.com"

创建 git 仓库:
mkdir typora
cd typora
git init
touch README.md
git add README.md
git commit -m "first commit"
git remote add origin git@gitee.com:Ultron2018/typora.git
git push -u origin master


已有仓库?

cd existing_git_repo
git remote add origin git@gitee.com:Ultron2018/typora.git
git push -u origin master
1
https://gitee.com/Ultron2018/typora.git
git@gitee.com:Ultron2018/typora.git
Ultron2018
typora
typora云笔记
master

搜索帮助