forked from octocat/Spoon-Knife
-
Notifications
You must be signed in to change notification settings - Fork 0
/
git_tutorial.txt
32 lines (31 loc) · 1006 Bytes
/
git_tutorial.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
this is a test, can I sync this back up to the github repo?
Press enter to submit commands
> git status
# On branch master
# Initial commit
nothing to commit (create/copy files and use "git add" to track)
Success!
$ git status
# On branch master
# Initial commit
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
# octocat.txt
nothing added to commit but untracked files present (use "git add" to track)
Success!
$ git add octocat.txt
Nice job, you've added octocat.txt to the Staging Area
$ git status
# On branch master
# Initial commit
# Changes to be committed:
# (use "git rm --cached <file>..." to unstage)
# new file: octocat.txt
Success!
$ git commit -m "Add cute octocat story"
[master (root-commit) 20b5ccd] Add cute octocat story
1 file changed, 1 insertion(+)
create mode 100644 octocat.txt
Success!
$ ls
$ git add '*.txt'