1
0
Fork 0
mirror of https://codeberg.org/Mo8it/How_To_Linux.git synced 2024-11-21 14:48:02 +00:00

Merge pull request 'git_merge' (#21) from meifler123/dev-tools:git_config into main

Reviewed-on: https://codeberg.org/mo8it/dev-tools/pulls/21
This commit is contained in:
Mo 2023-08-17 10:08:27 +00:00
commit 6f877f5918

View file

@ -66,6 +66,15 @@ git commit -m "Your commit message here"
## git merge
This command is used to combine two branches together. Use git checkout to visit the branch you want to merge to.
```bash
$ git checkout main
$ git merge branch2
```
This will merge the branch "branch2" into the branch, where this command was executed in.(Here: "main")
## git reset
## git revert