Skip to content

JimmyKent/GitCommand

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

本地已有工程,连接到github新工程
create a new repository on the command line
echo "# CppLearning" >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/JimmyKent/GitCommand.git
git push -u origin master

git不自动添加

git不自动添加

使用git add -A 或者 git add . 要清除某个文件, 但是不删除本地文件 $ git rm --cached readme.txt

About

一些常用的 git 指令

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published