

def unstage(self, repo, files):
    if self.no_commits(repo):
        return self.git((['rm', '--cached', '--'] + files), cwd=repo)
    return self.git((['reset', '-q', 'HEAD', '--'] + files), cwd=repo)

dataset/ETHPy150Open SublimeGit/SublimeGit/sgit/status.py GitStatusUnstageCommand.unstage/original