Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comand Pull #1490

Open
engBrunoSales opened this issue Oct 8, 2021 · 4 comments
Open

Comand Pull #1490

engBrunoSales opened this issue Oct 8, 2021 · 4 comments

Comments

@engBrunoSales
Copy link

Create comand Pull

@jung-kim
Copy link
Collaborator

jung-kim commented Oct 9, 2021

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
Copy link
Contributor

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
Copy link
Collaborator

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
Copy link
Contributor

bes-internal commented Nov 29, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants