Basic Git Review
- git fetch
- to see if there needs any update
- downloads content from the specified remote repository
- git merge
- merge the remote content refs and heads into a new local merge commit.
EXAMPLE:
- git pull
- download all the changes from the point where the local and main diverged
- We makes this often to keep our directory up to date and finally merge it with our main branch.
- We often make pull requests early.
- When we do commit or push, we can send codes using pipelines to test our codes.
H point
- This commit is a new merge commit that contains the contents of remote A-B-C commits and has a combined log message
- git pull --rebase
- git push
'Basic Coding Info > Git' 카테고리의 다른 글
[Git] HEAD detached from origin/main (0) | 2022.04.09 |
---|---|
[Git] Use the Branch (git checkout) (0) | 2022.04.01 |
Git with Bucket Clou (0) | 2022.03.19 |