4 ms·
It isn't particularly hard not to use git pull, git fetch origin git rebase origin/develop
by Wintamute 12y ago
It isn't particularly hard not to use git pull,
git fetch origin
git rebase origin/develop
- Mithaldu 12y agoThis is really the only sane way to develop once you're past a certain team size.
- krisdol 12y ago[How] is this different from `git pull --rebase`?
- Wintamute 12y agoI'm not sure if its different, but when you call `git pull` with no extra arguments (i.e. you don't specify the remote or the branch) then it behaves differently depending which branch you're on, and what your local Git config is. So, personally, I prefer to always be fully explicit in my Git commands. And does calling `git pull --rebase` just rebase your current branch against its remote equivalent? But usually I find myself working on a feature branch that is often rebased against a parent branch, `develop` (for example).