第一步:在电脑搜索GIt Bash,打开应用。第二步:cd 进入到自己项目的地址第三步:输入git init 意思是在自己的项目中生成Git项目管理,执行完后可以发现目录中多了一个.git文件。第四步:输入git add . (这里注意add和.之间有一个空格)将项目目录下的所有文件添加到仓库中。第五步:输入git commit -m "注释内容" 给提交的项目添加注释。 接着会出现下面的提示,提            
                
                    
                        
                                                            
                                                                        
                                                                                        转载
                                                                                    
                            2024-03-28 12:50:48
                            
                                65阅读
                            
                                                                             
                 
                
                                
                     
                                    
                             
         
            
            
            
               
  是一位叫文贤平的程序员,项目名称很有档次,直接明了,就叫“ 
  12306 
  ”,功能一直在更新,2018年初开始提交,最近的一次提交在两天前,也就是9月18号,看得出很用心。 
      
  流程图画的很清晰明了,从查询余票开始,到付款完成,最后获取订单号。一气呵成,不怕人类手速太慢。技术原理其实是没什么说的, 
    
  懂爬虫的人都知道,实质上就是用程序模拟人的行为            
                
         
            
            
            
            Can’t login: Connect to api.github.com:443 [api.github.com/13.250.168.23] failed: Connection refused: connect            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2020-06-30 09:20:02
                            
                                3440阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            出现错误:unable to access 'https://github.com/xxx/xxx.git: Failed to connect to github.com port 443‘原因是没有输入指定用户名和密码:打开终端,切换到git目录(我的是/home/steven/.git)sudo gedit config把url = https://github.com/xxx/xxx.gi            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2023-03-05 06:49:53
                            
                                3481阅读
                            
                                                                             
                 
                
                                
                     
                                    
                             
         
            
            
            
            今天整理github,初次使用,很多都不懂,所以遇到了克隆失败的问题,研究了大半天,后来。。。。。 打开Git Bash,克隆已有工程到本地: $ git clone https://github.com/zh-ya-jing/learn_robotium.gitCloning into 'lear            
                
                    
                        
                                                            
                                                                        
                                                                                        转载
                                                                                    
                            2024-03-26 12:55:07
                            
                                216阅读
                            
                                                                             
                 
                
                                
                     
                                    
                             
         
            
            
            
            最近发现在家里push代码到github的时候总是报错,报错内容如下: fatal: unable to access 'https://github.com/MangoDowner/clear-leetcode.git/': LibreSSL SSL_connect: SSL_ERROR_SYSC ...            
                
                    
                        
                                                            
                                                                        
                                                                                        转载
                                                                                    
                            2021-07-14 17:55:00
                            
                                774阅读
                            
                                                                                    
                                2评论
                            
                                                 
                 
                
                             
         
            
            
            
            git clone 报错:解决方法:1.查找网站IP2. 打开hosts文档并修改3.再次运行            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2022-12-27 12:32:45
                            
                                586阅读
                            
                                                                             
                 
                
                                
                     
                                    
                             
         
            
            
            
            今天在使用git pull的时候出现了下面的错误:➜  bert_img git:(main) ✗ git pullfat            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2022-08-11 17:16:00
                            
                                295阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            查了别人解决方法,最终自己的解决方法如下,http和https都不要配置代理,主要是下面那句,因为git就是https的 git config --global --unset http.proxy git config --global --unset https.proxy 分别执行了下面的两句            
                
                    
                        
                                                            
                                                                        
                                                                                        转载
                                                                                    
                            2021-07-06 10:07:38
                            
                                10000+阅读
                            
                                                                             
                 
                
                             
         
            
            
            
                response = requests.post(url, json=input)
    try:
        result = response.json()
        return result
    except requests.exceptions.RequestException:
        response.raise_for_status()import            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2024-04-28 16:12:02
                            
                                0阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            > git pull --tags origin mainfatal: unable to access 'https://github.com/......git/': Failed to conne            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2022-07-04 21:09:47
                            
                                537阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            今天在某台测试机,git clone代码,报错unable to access 'https://github.com/istester/21dayLinux.git/': SSL connect error解决方案如下 。亲测,有用 。执行如下安装命令yum update -y nss curl libcurl再次,git clone...            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2021-07-07 11:19:00
                            
                                874阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            正克隆到 ‘/Users/xxx/.oh-my-zsh’…fatal: 无法访问 ‘https://github.com/ohmyzsh/ohmyzsh.git/’:Failed to connect to 127.0.0.1 port 10            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2022-07-11 10:46:53
                            
                                851阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            GitHub push 的时候遇到问题,在确保在GitHub上已经添加rsa的公钥,并且用户名和密码正确的情况下,添加配置使用ssh协议进行链接。            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2014-03-22 11:29:49
                            
                                3912阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            大家好,我是杰森。 对大家来说一定不陌生,无论是学习还是(爬)(项)(目)            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2022-10-04 21:05:50
                            
                                569阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            咋啥也不知道,莫名就出现了 Failed to connect to github.com port 443: Timed out 于是我果断百度,发现如下解决办法 git config --global http.proxy http://127.0.0.1:1080 git config --g ...            
                
                    
                        
                                                            
                                                                        
                                                                                        转载
                                                                                    
                            2021-07-23 14:35:00
                            
                                10000+阅读
                            
                                                                                    
                                2评论
                            
                                                 
                 
                
                             
         
            
            
            
            今天在git push东西的时候发现超时了,找了好多办法也解决不了,后面发现配置一下hosts就行了,所以分享一下            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2022-08-11 17:12:25
                            
                                562阅读
                            
                                                                             
                 
                
                                
                    