惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

酷 壳 – CoolShell
酷 壳 – CoolShell
T
Threatpost
Latest news
Latest news
N
News | PayPal Newsroom
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Help Net Security
Help Net Security
D
Darknet – Hacking Tools, Hacker News & Cyber Security
AI
AI
Simon Willison's Weblog
Simon Willison's Weblog
TaoSecurity Blog
TaoSecurity Blog
The Last Watchdog
The Last Watchdog
L
LINUX DO - 热门话题
Google DeepMind News
Google DeepMind News
T
Threat Research - Cisco Blogs
O
OpenAI News
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
T
The Exploit Database - CXSecurity.com
NISL@THU
NISL@THU
Application and Cybersecurity Blog
Application and Cybersecurity Blog
S
Securelist
小众软件
小众软件
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Martin Fowler
Martin Fowler
S
SegmentFault 最新的问题
Cisco Talos Blog
Cisco Talos Blog
云风的 BLOG
云风的 BLOG
AWS News Blog
AWS News Blog
GbyAI
GbyAI
N
News and Events Feed by Topic
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
美团技术团队
Engineering at Meta
Engineering at Meta
A
About on SuperTechFans
博客园 - 三生石上(FineUI控件)
S
Schneier on Security
博客园 - 聂微东
V2EX - 技术
V2EX - 技术
T
Troy Hunt's Blog
SecWiki News
SecWiki News
S
Secure Thoughts
B
Blog RSS Feed
Hugging Face - Blog
Hugging Face - Blog
WordPress大学
WordPress大学
腾讯CDC
H
Heimdal Security Blog
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Apple Machine Learning Research
Apple Machine Learning Research
月光博客
月光博客
www.infosecurity-magazine.com
www.infosecurity-magazine.com
P
Privacy International News Feed

噜啦 - Git

Git 最小配置 - 噜啦
创建第一个仓库并配置local信息 add and commit - 噜啦
博主: 噜啦 · 2020-07-12 · via 噜啦 - Git

当前目录下创建新仓库
git init gitlearning

进入目录
cd gitlearning

配置仓库user.name user.email

git config --local user.name 'lula'
git config --local user.email 'admin@coding.lula.fun'

创建README.md
touch README.md

尝试commit
git commit -m'Add readme'

报错,因为还没有track该文件

On branch master

Initial commit

Untracked files:
    README.md

nothing added to commit but untracked files present

add
git add README.md

查看当前的状态
git status

On branch master

No commits yet

Changes to be committed:
  (use "git rm --cached <file>..." to unstage)

    new file:   README.md

重新commit
git commit -m'Add README.md'
成功

[master (root-commit) 9a4b5ae] Add README.md
 1 file changed, 112 insertions(+)
 create mode 100644 README.md

查看git日志
git log

commit 9a4b5aefbf519f1c3cc9939321cb62721d8889d8 (HEAD -> master)
Author: lula <admin@coding.lula.fun>
Date:   Sun Jul 12 10:37:26 2020 +0800

    Add README.md

赞赏作者

如果觉得我的文章对你有用,请随意赞赏