Giter Club home page Giter Club logo

Comments (3)

benhoyt avatar benhoyt commented on June 3, 2024

Hi @adlternative -- if you email me (see contact info at https://benhoyt.com/) we can continue this conversation via email. In the meantime, I tried to reproduce this issue and it didn't happen for me:

~/h$ python3 pygit/pygit.py init pygit-test
initialized empty repository: pygit-test
~/h$ cd pygit-test/
~/h/pygit-test$ python3 ../pygit/pygit.py add README.md
~/h/pygit-test$ python3 ../pygit/pygit.py commit --author 'Ben Hoyt <[email protected]>' -m 'Commit pygit-test README'
committed to master: a1e5a2acea3de1130ae9e2d6a1acc2bfb7f9ab9f
~/h/pygit-test$ GIT_USERNAME=benhoyt GIT_PASSWORD=xxx python3 ../pygit/pygit.py push https://github.com/benhoyt/pygit-test.git
updating remote master from no commits to a1e5a2acea3de1130ae9e2d6a1acc2bfb7f9ab9f (3 objects)

You can see the pygit-test repo here: https://github.com/benhoyt/pygit-test

So I'm not sure what's going on for you, sorry!

from scandir.

adlternative avatar adlternative commented on June 3, 2024

Hi @adlternative -- if you email me (see contact info at https://benhoyt.com/) we can continue this conversation via email. In the meantime, I tried to reproduce this issue and it didn't happen for me:

~/h$ python3 pygit/pygit.py init pygit-test
initialized empty repository: pygit-test
~/h$ cd pygit-test/
~/h/pygit-test$ python3 ../pygit/pygit.py add README.md
~/h/pygit-test$ python3 ../pygit/pygit.py commit --author 'Ben Hoyt <[email protected]>' -m 'Commit pygit-test README'
committed to master: a1e5a2acea3de1130ae9e2d6a1acc2bfb7f9ab9f
~/h/pygit-test$ GIT_USERNAME=benhoyt GIT_PASSWORD=xxx python3 ../pygit/pygit.py push https://github.com/benhoyt/pygit-test.git
updating remote master from no commits to a1e5a2acea3de1130ae9e2d6a1acc2bfb7f9ab9f (3 objects)

You can see the pygit-test repo here: https://github.com/benhoyt/pygit-test

So I'm not sure what's going on for you, sorry!

I have solved it, thank you. There is a problem with the email format filled in my commit. I need to addcommit -a xxx <[email protected]>. I used to fill in my commit in the form of commit -a xxx , which resulted in The problem of unpacking the github server during the later push.

In addition, it can be mentioned that github told me that this way of filling in the account and password through the terminal to push may have security vulnerabilities. Through git reflog, this interesting tutorial may have to be changed in August next year, haha!

from scandir.

benhoyt avatar benhoyt commented on June 3, 2024

Good find, thanks for the update.

from scandir.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.