Git创建新内容

使用以下命令创建几个新文件。

1
2
3
4
5
6
7
8
9
10
# switch to your Git repository
cd ~/repo01

# create an empty file in a new directory
touch datafiles/data.txt

# create a few files with content
ls > test01
echo "bar" > test02
echo "foo" > test03
Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×