Giter Site home page Giter Site logo

kp's People

Contributors

qgbcs avatar

Watchers

 avatar

kp's Issues

git cmd

git config --global user.email Q;git config --global user.name Q;git init;git add -A;git commit -m init;git push https://[email protected]/qgbcs/kp master -f

必须要有一个文件,没有找到推送全空仓库的方法

pygithub put file


ipdb> s
--Call--
> /usr/local/lib/python3.9/site-packages/requests/sessions.py(592)put()
    590         return self.request('POST', url, data=data, json=json, **kwargs)
    591 
--> 592     def put(self, url, data=None, **kwargs):
    593         r"""Sends a PUT request. Returns :class:`Response` object.
    594 

ipdb> !(self, url, data,kwargs)
(<requests.sessions.Session object at 0x7fd3cc05e220>, 'https://api.github.com:443/repos/qgbcs/kp/contents/2022-06-24__11.05.04__.110.txt', '{"message": "add new file", "content": "ZGF0YQ==", "branch": "master"}', {'headers': {'Authorization': 'token ============', 'User-Agent': 'PyGithub/Python', 'Content-Type': 'application/json'}, 'timeout': 15, 'verify': True, 'allow_redirects': False})

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.