目的:Create a new commit
git 語法:git commit -m "message"
Team Explorer 畫面:
目的:Amend the last commit with staged changes
git 語法:git commit --amend -m "Updated message"
Team Explorer 畫面:
目的:Stage all file changes
git 語法:git add --all
Team Explorer 畫面:
目的:Stage a specific file change
git 語法:git add filename
Team Explorer 畫面:
目的:Review unstaged changes
git 語法:git status --untracked
Team Explorer 畫面:
目的:Delete a file
git 語法:
- git rm filename
- git commit -m "Deleted filename"
目的:Move a file
git 語法:
- git mv filename
- git commit -m "Moved filename"
目的:Tag a commit
git 語法:git tag -a tagname -m "description"
Team Explorer 畫面:
沒有留言:
張貼留言