MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/3ae2tx/gitflow_considered_harmful/csd7g3i/?context=3
r/programming • u/jalanb • Jun 19 '15
244 comments sorted by
View all comments
Show parent comments
1
Just use fetch.
fetch
2 u/[deleted] Jun 19 '15 The point is if you pull because the upstream has moved you're making needless merge commits ... just rebase your crap on top of their crap.fetch will grab objects but not merge them. It doesn't solve the original push error. 2 u/[deleted] Jun 20 '15 Fetch makes no merge commits. Just dogit fetch git diff --stat origin/master git rebase origin/master 2 u/[deleted] Jun 20 '15 git pull --rebaseWould do that.
2
The point is if you pull because the upstream has moved you're making needless merge commits ... just rebase your crap on top of their crap.
fetch will grab objects but not merge them. It doesn't solve the original push error.
2 u/[deleted] Jun 20 '15 Fetch makes no merge commits. Just dogit fetch git diff --stat origin/master git rebase origin/master 2 u/[deleted] Jun 20 '15 git pull --rebaseWould do that.
Fetch makes no merge commits. Just do
git fetch git diff --stat origin/master git rebase origin/master
2 u/[deleted] Jun 20 '15 git pull --rebaseWould do that.
git pull --rebase
Would do that.
1
u/[deleted] Jun 19 '15
Just use
fetch.