diff --git a/pages/common/git-fetch.md b/pages/common/git-fetch.md new file mode 100644 index 0000000000..1db31a09dc --- /dev/null +++ b/pages/common/git-fetch.md @@ -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` diff --git a/pages/common/git-rebase.md b/pages/common/git-rebase.md new file mode 100644 index 0000000000..93ff2ae56c --- /dev/null +++ b/pages/common/git-rebase.md @@ -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)