Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to commit modified files? #71

Open
Kyson opened this issue Sep 9, 2015 · 1 comment
Open

How to commit modified files? #71

Kyson opened this issue Sep 9, 2015 · 1 comment

Comments

@Kyson
Copy link

Kyson commented Sep 9, 2015

my python file as following:

#!/usr/bin/env python
# -*- coding: utf-8 -*-
__author__ = 'Kyson'
from gittle import Gittle

path = 'E:/工作相关/kyson.github.io'
url = '[email protected]:Kyson/Kyson.github.io.git'

repo = Gittle(path)

repo.stage(repo.modified_files)

repo.commit(name="kyson",email="[email protected]",message="test")

but does not work.pls help.

@iLoveTux
Copy link
Contributor

iLoveTux commented Oct 6, 2015

What doesn't work? What errors are you getting?

My guess is that it's related to the Unicode characters in your path, which is currently unsupported. Please see this issue and since it's an upstream issue also this one. If that's the issue you can probably get around this issue by renaming the folder 工作相关 to work-related. If that's not the issue, please post the traceback you are seeing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants