mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-15 06:35:59 +02:00
Adds documentation for git rebase and git fetch
This commit is contained in:
parent
1f74ef276d
commit
1fa146ee30
2 changed files with 14 additions and 0 deletions
7
pages/common/git-fetch.md
Normal file
7
pages/common/git-fetch.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# git fetch
|
||||
|
||||
> Download objects and refs from a remote repository
|
||||
|
||||
- Fetch the latest changes from all remote git servers
|
||||
|
||||
`git fetch --all`
|
7
pages/common/git-rebase.md
Normal file
7
pages/common/git-rebase.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# git rebase
|
||||
|
||||
> Apply local commits on top of another branch's history
|
||||
|
||||
- Rebase your local branch with the latest changes in master
|
||||
|
||||
`git rebase -i master` (Then follow the directions in the terminal for merge conflicts)
|
Loading…
Add table
Reference in a new issue