Update
This commit is contained in:
@ -0,0 +1,20 @@
|
||||
Initialize in the project folder
|
||||
git init
|
||||
|
||||
Get the git status (Name of Branch, Commit section, Stating section)
|
||||
git status
|
||||
|
||||
Add a file to the staging area
|
||||
git add filename.txt
|
||||
|
||||
Remove a file from the staging area
|
||||
git rm filename.txt
|
||||
|
||||
Commit a file (all -a, -m Message)
|
||||
git commit -a -m "My message"
|
||||
|
||||
Undo a commit
|
||||
git --amend
|
||||
|
||||
Show commit log
|
||||
git log
|
||||
Reference in New Issue
Block a user