git-push

Team City Git “Host key verification failed”

限于喜欢 提交于 2019-12-10 15:54:21
问题 I want to use TeamCity to pull code from a remote Git repo, update a file (and stage and commit to the local repo) and then push the committed file back to the remote repo. The pull & update is fine. If I open git-bash and git push origin master then the commit (arising from the updated file being committed to the local repo) is pushed to the remote repo. Fine. If I try to do this (to the same remote target repo) using a Team City's Command Line runner it fails with [14:49:18][Step 3/7] Host

Git pushes entire project even if few files are changed. AWS

心已入冬 提交于 2019-12-10 15:18:14
问题 I am using Git to push our application to AWS though Elastic Beanstalk. AWS has created the means to do this, although from my understanding it is not exactly a traditional repository. So, for example, I can't pull from my Beanstalk project. I am confused about what is happening during a push and why sometimes it is pushing much more data than others. My typical process is as follows //create, edit files $ git add . $ git commit -m "message here" [master 7d38f1f] message here 5 files changed,

Why does git push fails with “Operation timed out”?

自作多情 提交于 2019-12-10 14:57:17
问题 MacMini $ git push origin master Counting objects: 1916, done. Delta compression using up to 2 threads. Compressing objects: 100% (1751/1751), done. Read from remote host codebasehq.com: Operation timed out fatal: The remote end hung up unexpectedly error: pack-objects died of signal 13 error: pack-objects died with strange error error: failed to push some refs to 'git@codebasehq.com:xx/xx/xx.git' 回答1: Contemporary UTM firewalls can mess with outgoing data if they falsely identify traces of

git push makes me login to github. fatal: HttpRequestException encountered

混江龙づ霸主 提交于 2019-12-10 13:37:22
问题 Every time I push my changes, no matter what branch I am on, it prompts for username. Once I type in my username an alert pops up prompting me to input my password. Once I do it, then changes are pushed. This just started happening and is annoying to type in my login info each time I push changes. Any suggestions? $ git push fatal: HttpRequestException encountered. An error occurred while sending the request. Username for 'https://github.com': jhower 回答1: jhower, Update to the latest git and

Stuck at push, nothing happens

大憨熊 提交于 2019-12-10 09:32:01
问题 i used git before without any problem, but suddenly i can't push or clone anything. when i use this command, just nothing happens, not even an error, so i have to press ctrl + c or just close git window. i use this simple command for pushing: git push origin master also tried with -u parameter. i opened port 22 in my firewall, no luck i use both http and ssh, again no luck i install a new version of git, no luck so what i can do to solve this? Update: i installed a fresh win xp on virtual

git subtree push --squash does not squash

半城伤御伤魂 提交于 2019-12-10 03:49:03
问题 I am using git subtree to organize my git repositories. Let's say I have a main repository called repo and a library called lib . I successfully "imported" the lib repository by squashing its history. I would now like to contribute back to lib by squashing the history too. This does not seem to work: I specify the --squash option to git subtree push but when looking at the history I still send all the commits. How to reproduce Here is a script showing the minimal commands needed to reproduce

Can't push to git via Android studio?

孤者浪人 提交于 2019-12-10 03:30:46
问题 I cloned a Repository from Github via Android Studio. I made some changes to the code, then committed & pushed without a problem. Today, I made some changes to the code. I committed them but when I tried to push them it says Can't push, because no remotes are defined Thanks for your help.. 回答1: Apparently there's no way to do it from the IDE, some bug must have deleted your remote. If you open up the config file in your .git directory within your project folder, goto the bottom and insert:

Doing git-push without origin master

你说的曾经没有我的故事 提交于 2019-12-10 02:36:50
问题 Is there a way on GIT to just do a "git push" and it automatically send to "origin master" without specify that? Just curious... 回答1: Your master branch should be automatically setup so this works. If you are on some other branch, then you can use the git branch command with the --set-upstream option git branch --set-upstream someBranch origin/master It might be also the case that you don't have a remote set, in the case when you have a bare and clean repository setup waiting for you to push

No valid crumb was included in the request - Jenkins on Windows

孤街浪徒 提交于 2019-12-10 02:11:36
问题 I installed Jenkins 2.46.2 on Windows Server 2012 and integrated it with GitBucket. I am trying the trigger the build when a change is pushed to GitBucket. I tried to add a webhook but I get this error: Error 403 No valid crumb was included in the request HTTP ERROR 403 Problem accessing /jenkins/gitbucket-webhook/. Reason: No valid crumb was included in the request Powered by Jetty:// 回答1: For me the problem was that I left the jenkins window unattended for some time. Once I navigated to the

How do I use the --work-tree option with git? I keep getting an error

∥☆過路亽.° 提交于 2019-12-09 16:14:12
问题 I have a normal repo where there is a working tree and a .git folder in the same directory as the working tree. I'm trying to run a git command from outside this location with the command git --git-dir=/path/to/repo/.git --work-tree=/path/to/repo pull /some/other/repo master but I keep getting the error fatal: /usr/libexec/git-core/git-pull cannot be used without a working tree. . What am I doing wrong? 回答1: This is a bug in earlier versions of Git. This problem should go away once you