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

推荐订阅源

Help Net Security
Help Net Security
G
Google Developers Blog
雷峰网
雷峰网
WordPress大学
WordPress大学
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Engineering at Meta
Engineering at Meta
Security Latest
Security Latest
T
Threat Research - Cisco Blogs
AWS News Blog
AWS News Blog
F
Full Disclosure
C
Cybersecurity and Infrastructure Security Agency CISA
T
The Exploit Database - CXSecurity.com
J
Java Code Geeks
U
Unit 42
C
Cyber Attacks, Cyber Crime and Cyber Security
V
V2EX
C
Cisco Blogs
博客园 - 司徒正美
Project Zero
Project Zero
L
LINUX DO - 热门话题
阮一峰的网络日志
阮一峰的网络日志
Blog — PlanetScale
Blog — PlanetScale
Scott Helme
Scott Helme
A
About on SuperTechFans
Hugging Face - Blog
Hugging Face - Blog
S
Securelist
小众软件
小众软件
aimingoo的专栏
aimingoo的专栏
S
Schneier on Security
G
GRAHAM CLULEY
酷 壳 – CoolShell
酷 壳 – CoolShell
Cyberwarzone
Cyberwarzone
MongoDB | Blog
MongoDB | Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 叶小钗
T
Threatpost
Recorded Future
Recorded Future
C
CXSECURITY Database RSS Feed - CXSecurity.com
宝玉的分享
宝玉的分享
N
News and Events Feed by Topic
人人都是产品经理
人人都是产品经理
The Register - Security
The Register - Security
S
Security Archives - TechRepublic
博客园 - Franky
N
News | PayPal Newsroom
Simon Willison's Weblog
Simon Willison's Weblog
S
SegmentFault 最新的问题
W
WeLiveSecurity
A
Arctic Wolf
B
Blog

噜啦

使用Python 在WordPress 自动发布文章 xmlrpc 404 Not Found 错误 cPanel面板 AirPods 小米8 安卓设备 音量小 终极解决方法 EHEH 免费,轻量的Linux服务器监控 SSL证书过期监控 - 噜啦 Git 最小配置 - 噜啦 Privacy Pass Cloudflare验证码通过神器 - 噜啦 easypanel 搭建typecho 开启全站https/ssl 伪静态 - 噜啦 du和ls查看文件大小不同的原因 - 噜啦 服务管理工具 systemctl - 噜啦 进程的控制与进程之间的关系 - 噜啦
创建第一个仓库并配置local信息 add and commit - 噜啦
博主: 噜啦 · 2020-07-12 · via 噜啦

当前目录下创建新仓库
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

赞赏作者

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