Adds documentation for git rebase and git fetch
This commit is contained in:
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)
|
Reference in New Issue
Block a user