Never* use Git pull [video]
youtube.com
Never* use Git pull [video]
1–10 of 22 posts
Re: Never* use Git pull [video]
#2Re: Never* use Git pull [video]
#3Re: Never* use Git pull [video]
#4I feel like this is "solving" a problem that doesn't exist in good workflows. How often are you pulling from a shared branch that you are making local commits to? Each of the people in the video should be branching off main and doing pull requests to get back into main.
Re: Never* use Git pull [video]
#5alias gupa="git pull --rebase --autostash"
Re: Never* use Git pull [video]
#6I feel like this is "solving" a problem that doesn't exist in good workflows. How often are you pulling from a shared branch that you are making local commits to? Each of the people in the video should be branching off main and doing pull requests to get back into main.
When more than one dev is working on a feature branch? You could take feature/a, branch off feature/a.1 for your local work but at some point you gotta incorporate work from feature/a. Not so different from origin/main -> main.
git pull --ff-only should really be the default (changeable) behavior.
Re: Never* use Git pull [video]
#7It provides a clean commit history, without actually rewriting the commit history.
I wish more developers in the company used this approach.
Re: Never* use Git pull [video]
#8Re: Never* use Git pull [video]
#9I feel like this is "solving" a problem that doesn't exist in good workflows. How often are you pulling from a shared branch that you are making local commits to? Each of the people in the video should be branching off main and doing pull requests to get back into main.
Every working/hobbying day for the past decade and a half.
Re: Never* use Git pull [video]
#10I feel like this is "solving" a problem that doesn't exist in good workflows. How often are you pulling from a shared branch that you are making local commits to? Each of the people in the video should be branching off main and doing pull requests to get back into main.
> How often are you pulling from a shared branch that you are making local commits to When more than one dev is working on a feature branch? You could take feature/a, branch off feature/a.1 for your local work but at some point you gotta incorporate work from feature/a. Not so different from origin/main -> main. git pull --ff-only should really be the default (changeable) behavior.