View difference between Paste ID: ZUkD69eZ and UXM5ja2s
SHOW: | | - or go back to the newest paste.
1
mkdir git
2
cd git
3
git init
4
touch readme.txt
5
git add readme.txt
6
git commit -m "init git and readme.txt"
7
git remote add origin https://github.com/test/test1
8
git push origin master
9
touch 1.txt
10
touch 2.txt
11
git add *.txt
12
git commit -m "test commit *.txt "
13
git push origin master
14
git rm 2.txt
15
git commit -m "delete 2.txt "
16
git push origin master
17
18
sed '1 i hello git ' readme.txt >readme.txt
19
git add readme.txt
20
git commit -m "modify readme.txt"
21
git push origin master