def push(self, upstream, branch, credentials):
        """ Push changes from a branch to a remote

        Examples::

                repo.push("origin", "master")
        """

        remote = self.get_remote(upstream)
        remote.push(["refs/heads/%s" % (branch)], callbacks=credentials)
dataset/ETHPy150Open PressLabs/gitfs/gitfs/repository.py/Repository.push/original