gmasterscm / ama

Ask me anything!
https://blog.sindresorhus.com/answering-anything-678ce5623798
5 stars 1 forks source link

Pull Fast Forward #6

Closed rthomson83 closed 6 years ago

rthomson83 commented 6 years ago

Is there any pull fast forward option? It just seems to pull origin and doesn't attempt to move along the local.

rubarax commented 6 years ago

Do you mean that after running an pull operation (origin/task), the local reference (task) is not updated? That is weird, since updating the local reference is the default behavior.

Pull will always try to update the local reference. Fetch will not do it.

If you mean that you cannot configure the '--no-ff' or '--ff-only' options for the pull operation, you are right. There is not a way to customize the pull operation right now.

rthomson83 commented 6 years ago

I think I'm just trying to use this tool like another git client I use. Even if you are not on the branch you can pull it and it will ff. GM tries to pull the unchecked out branch into the current branch. Not saying this is wrong or anything, still trying to get my head around the functionaly. ;-)