FredrikNoren / ungit

The easiest way to use git. On any platform. Anywhere.
MIT License
10.42k stars 637 forks source link

Comand Pull #1490

Open engBrunoSales opened 2 years ago

engBrunoSales commented 2 years ago

Create comand Pull

jung-kim commented 2 years ago

It is true that Ungit doesn't have explicit git pull like operation.

But git pull is a simply moving current branch to the branch's remote location. This we can simply do by drag and dropping the branch name, including current branch.

Is this sufficient for you?

branch_move

wmertens commented 2 years ago

not quite - pull can also mean merging and handling conflicts. It would be nice if pull showed a nice merge arrow on hover.

But personally I never pull, I only fetch and move or rebase, so I don't care about this feature ;)

jung-kim commented 2 years ago

That's absolutely right, what I propose above is simple "move" which has no consideration for reconciling diffs. It's rather just accepting one change over another.

But "pull" in those case can be accomplished by existing merge operation so I would still maintain that there are alternatives. And I think this alternative are better as operations are explicit in it's purpose unlike "pull" that have different meanings in different context.

bes-internal commented 1 year ago

for history: now switching to a remote branch does fast-forward automatically. Like in @jung-kim gif but without move mouse action. This is alse works for any overscreen long history. I think this removes 80% of the cases from this question on adding a pull button.