brackets-userland / brackets-git

brackets-git — git extension for adobe/brackets
Other
656 stars 193 forks source link

Add a fetch button #1255

Closed mattbell87 closed 8 years ago

mattbell87 commented 8 years ago

There may be some cases when someone wants to fetch from their remote but not merge the changes. They might want to see how many commits they are behind or simply browse/diff the changes before merging them with the local copy.

Here is a concept I created with the dev tools: screen shot 2016-01-12 at 8 47 22 am Edit: removed second concept.

zaggino commented 8 years ago

Just make a sync button, fetch all remotes, without the dialog, that would be much simpler to use I guess.

mattbell87 commented 8 years ago

One click sync, I like that idea. I'll develop that over the next couple of days.

zaggino commented 8 years ago

What about doing fetch automatically? Idea would be:

This would be great to have, I start Brackets in the morning, my remotes get fetched, counters get updated and I don't have to press fetch button manually. If the automatic fetch will fail, just log error in the console.

mattbell87 commented 8 years ago

I thought about an automatic approach but concluded that it would be heavy on large projects for some people. I still think an automatic fetch would be an awesome idea though.

I think we should implement the manual fetch button first, then look at creating a new feature for automatic fetches.

How about a drop down in the settings dialog? screen shot 2016-01-12 at 4 37 12 pm

zaggino commented 8 years ago

Yeah, that's a good idea too to have that dropdown.