intersystems / intersystems/git-source-control

Add ability to reset branch to remote

Open
#894 0 comments 0 reactions 0 assignees View on GitHub
customer
Dominant language
ObjectScript
Stars
22
Forks
14
Avg merge
1d 9h
Merged PRs (30d)
5

Description

On occasion, we end up with divergent branches in our lowest shared/deployed environment. it is really cumbersome to have to drop to the OS to issue a `git reset --hard` command (in part because permissions on the OS are really restrictive). Ideally, it would do a git-fetch followed by the reset.

It would be nice if this were an option somewhere within the UI to reset the current branch to it's `origin` counterpart: either an action button when you select a local branch or maybe an input that lets you run git commands from the settings page (you could show it only in expert mode)

This is more of a convenience request than anything else.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.