Skip to content
xhoang0509Public

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

19 Commits

Folders and files

Repository files navigation

This project is just a demo how to use git

Learn from CoderX

Link: https://youtube.com/playlist?list=PLkY6Xj8Sg8-viFVtaVps_h_Emi2wQyE7q

Unit 1

 git init
 git status
 git add
 git commit

Unit 2

 git log
 git show
 git diff

Unit 3

 working directory
 staging area
 git repository

Unit 4

 git checkout -- <file>
 git reset - undo 

Unit 5

 git checkout -b <branch> (branching)
 git checkout <branch>
 git merge
 A ---> B
 checkout A -> git merge B

Unit 6

 git reset --soft <to_commit>
 git reset --mixed <to_commit>
 git reset --hard <to_commit>

Unit 7

 git revert <commit>
 .gitignore

Unit 8

 git clone
 git pull

Unit 9

 Pull request
 1. git checkout -n <feature branch>
 2. git push origin <branch>
 3. create a pull request on Github
 4. review code
 5. merge to master

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages