Re: [git-users] unable to push to github account
On Sat, Nov 20, 2021 at 05:33:21PM -0800, skybuck2000 wrote: Why does git for humans exists ? How is it different from git for windows ? [...] If I guess correctly, you are talking about a mailing list called (by whoever has created it) "Git for human beings" [1]. If yes, the answers are, in order: * That mailing list exists to help mere mortals solve the problems they experience when using Git - no matter which hardware and/or software platform they run Git on. In other words, it's about solving platform-independent problems like difficulty grasping some concepts, dealing with complex merges, untandling botched histories, recovering from bloopers and so on. To recap, there's no piece of software titled "git for humans" (at least to my knowledge), and in any way the mailing list being discussed is not related to any specific piece of software other than Git - a version control system - in general. * The git-users mailing list is hence different from the git-for-windows mailing list because the latter is specifically designated for solving _technical_ usage problems occuring with one particular port of Git to the Windows platform - called "Git for Windows". Since the OP's problem was clearly not with using Git as a version control system but rather they were facing some technical problem specific to Git for Windows, I naturally suggested to bring such problems on the mailing list dedicated to solving such problems. This both raises the signal-to-noise ratio on the git-users list and has greater chances of being addressed as the git-for-windows mailing list is read by the GfW's developers (and this one is not). 1. https://groups.google.com/g/git-users -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/git-users/20211121110932.5ddzv7ymi5xt5oyg%40carbon.
Re: [git-users] unable to push to github account
Why does git for humans exists ? How is it different from git for windows ? Is git for humans for more general purposes questions ? or non-platform-related questions ? (To original poster: seems like that exe or other services/exes that it uses needs that framework try installing it, if that don't solve it then new/different problem) W11 comes with .net framework installed so then it should not be a problem. Bye for now, Skybuck. On Friday, November 12, 2021 at 12:59:45 PM UTC+1 Konstantin Khomoutov wrote: > On Thu, Nov 11, 2021 at 06:53:05PM -0800, saheed ibrahim wrote: > > >i am getting this error report whenever i tried to push to github account > >and i have downloaded the redistribution but unable to install > successfully. > >how should i go about it to correct this error so that i can be able to > >push my work to my github account > > Googling for the "git credential manage core" — that's what written in the > title of the error message box from your screenshot, — brings in [1] which > clearly hints on how to disable using of this feature completely, so I > would > just do this. > > …and some assorted points while we're at it: > > * Please do not post images unless absolutely necessary: they are not > indexed > by internet search engines, and as you can easily see looking at your own > message, "unable to push to github account" has nothing to do with the real > problem you're expeiencing so there are close to zero changes the next guy > with the same problem will be able to find our exchange. > > Another aspect to this problem is that not everyone uses GUI- or web-based > software to read mail; I, for one, use a terminal (text-mode) client, > and viewing images in it requires a bit of extra effort; not too much, > but sometimes some people will decide to just skip your message to not > spend that effort. > > Any dialog box on Windows supports pressing Ctrl-C in it to copy the full > text displayed there to the clipboard. Please use it. > > * This problem has nothing to do with Git itself; such questions are better > asked on the mailing list dedicated to Git-for-Windows, [2]. > > * "unable to install successfully" is not a problem statement because it is > not actionable: the only thing which can be suggested after looking at it > is "so there is some problem". Not too useful, right? > > So please, next time do spend more of your own time to spare the time of > those who is supposed to help you with your problem. > > 1. https://github.com/microsoft/Git-Credential-Manager-Core#windows > 2. https://groups.google.com/g/git-for-windows > > -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/git-users/729c2ff1-cbed-4fa0-9ff4-98611dfb686dn%40googlegroups.com.
Re: [git-users] unable to push to github account
On Thu, Nov 11, 2021 at 06:53:05PM -0800, saheed ibrahim wrote: i am getting this error report whenever i tried to push to github account and i have downloaded the redistribution but unable to install successfully. how should i go about it to correct this error so that i can be able to push my work to my github account Googling for the "git credential manage core" — that's what written in the title of the error message box from your screenshot, — brings in [1] which clearly hints on how to disable using of this feature completely, so I would just do this. …and some assorted points while we're at it: * Please do not post images unless absolutely necessary: they are not indexed by internet search engines, and as you can easily see looking at your own message, "unable to push to github account" has nothing to do with the real problem you're expeiencing so there are close to zero changes the next guy with the same problem will be able to find our exchange. Another aspect to this problem is that not everyone uses GUI- or web-based software to read mail; I, for one, use a terminal (text-mode) client, and viewing images in it requires a bit of extra effort; not too much, but sometimes some people will decide to just skip your message to not spend that effort. Any dialog box on Windows supports pressing Ctrl-C in it to copy the full text displayed there to the clipboard. Please use it. * This problem has nothing to do with Git itself; such questions are better asked on the mailing list dedicated to Git-for-Windows, [2]. * "unable to install successfully" is not a problem statement because it is not actionable: the only thing which can be suggested after looking at it is "so there is some problem". Not too useful, right? So please, next time do spend more of your own time to spare the time of those who is supposed to help you with your problem. 1. https://github.com/microsoft/Git-Credential-Manager-Core#windows 2. https://groups.google.com/g/git-for-windows -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/git-users/2022115940.niljfhhrgr4uowa7%40carbon.
Re: [git-users] unable to push using smart http
Hi Thanks a lot. It is working now Directory was wrong now set to /usr/lib/git-core/ and changing the permission to www-data made it work Thanks On Wednesday, November 14, 2012 8:54:11 PM UTC+5:30, Konstantin Khomoutov wrote: On Wed, 14 Nov 2012 05:58:47 -0800 (PST) kumar t12...@gmail.com javascript: wrote: I have setup smart http and now able to clone. I am using Ubuntu 12.10. but when i try to push i get the following error. $git push http://192.168.0.66/git/gitrepos/project1.git master [...] ! [remote rejected] master - master (n/a (unpacked error)) error: failed to puh some refs to ' http://192.168.0.66/git/gitrepos/project1.git' What puzzles me about this error is that I fail to find the unpacked error phrase in the Git source tree (a version near the 1.8.0 release): % git grep 'unpacked error' % git name-rev --tags master master tags/v1.8.0-rc0~48 Same results with the checkout of 1.7.10.4 (which your version of Ubuntu seems to have packaged). It might be that this error message is synthetic, but I fail to find any relevant context in the results of `git grep -w unpacked` as well. Again, this might signalize nothing special as I just did a quick glance, but are you sure you copied and pasted the error message correctly? These are the setting have done. SetEnv GIT_PROJECT_ROOT /var/www/git SetEnv GIT_HTTP_EXPORT_ALL ScriptAlias /git/ /usr/lib/git-core/git-http-backend/ SetEnv REMOTE_USER=$REDIRECT_REMOTE_USER Directory /usr/lib/git/ AllowOverride None Options +ExecCGI -Includes Order allow,deny Allow from all /Directory This setting is odd, as the directory path for which you set specific options using this directory does not match that specified by the ScriptAlias directive above. [...] I have set git config http.receivepack true I have given all permission to git folder drwxrwxrwx 3 root root 4096 Nov 13 23:13 git [...] The ownership and permissions on the root directory for your Git project are plain wrong -- never ever allow *everyone* read/write access to a directory (unless it also has the sticky bit set on it (/tmp is one example). Please grant the ownership recursively to the user www-data and the same-named group -- Apache on a typical Debian(-based) distro runs with the credentials of this special system user [*]. Then also make sure the permissions on the hierarchy is also OK. I'm not sure this will fix your problem but if we suppose the root cause of this failure is the Git's inability to unpack what it received due to permission problems, this might help. One way to change ownership/permissions is to run: $ sudo chown -R www-data:www-data /var/www/git to fix ownership and then $ sudo find /var/www/git -type d -exec chmod 0775 '{}' \; \ -o -type f -exec chmod 0664 '{}' \; to fix permissions (the trailing slash on the first line is to signalize the line break to fit it into the mail message -- when running the command on a real system remove it and write both parts on the same line). [*] It's possible to use something like mod-itk to allow serving different virtual hosts using different credentials but this is not the regular mode of operation, so do not consider this for now. --
Re: [git-users] Unable to push
Is there conflicts in your repository? What is the result of a git status? If there is no conflicts, I think that someome pushed new commits and you need to do a git pull --rebase again. William Seiti Mizuta @williammizuta Desenvolvedor da Caelum On Mon, Nov 5, 2012 at 6:54 PM, kramer.newsreader kramer.newsrea...@gmail.com wrote: Frustrated new git user here... Anyway, I have some changes that I would like to push but am unable I get the following error: error: failed to push some refs to 'ssh://git@...' To prevent you from losing history, non-fast-forward updates were rejected Merge the remote changes (e.g. 'git pull') before pushing again. See the 'Note about fast-forwards' section of 'git push --help' for details. Okay, so if I am translating git's terminology back to human language, I believe that this is telling me that I cannot push because I would lose history. My change is not downstream of where the head is. The thing is that I just did a successful git pull -rebase, so my changes should be right on top of the head. I can confirm that by attempting another pull: JohnKramer-2:statistics jkramer$ git pull --rebase Current branch nov2012 is up to date. What's going on here? -- --
Re: [git-users] Unable to push
Yeah that's what I would figure, but it isn't the case. Git status shows no conflicts. I did a git pull(and did pull in a change or two that was made since my last post here). Git status still showed no conflicts, so I tried a push again, but got the same error. On Monday, November 5, 2012 3:58:22 PM UTC-5, William Mizuta wrote: Is there conflicts in your repository? What is the result of a git status? If there is no conflicts, I think that someome pushed new commits and you need to do a git pull --rebase again. William Seiti Mizuta @williammizuta Desenvolvedor da Caelum On Mon, Nov 5, 2012 at 6:54 PM, kramer.newsreader kramer.n...@gmail.comjavascript: wrote: Frustrated new git user here... Anyway, I have some changes that I would like to push but am unable I get the following error: error: failed to push some refs to 'ssh://git@...' To prevent you from losing history, non-fast-forward updates were rejected Merge the remote changes (e.g. 'git pull') before pushing again. See the 'Note about fast-forwards' section of 'git push --help' for details. Okay, so if I am translating git's terminology back to human language, I believe that this is telling me that I cannot push because I would lose history. My change is not downstream of where the head is. The thing is that I just did a successful git pull -rebase, so my changes should be right on top of the head. I can confirm that by attempting another pull: JohnKramer-2:statistics jkramer$ git pull --rebase Current branch nov2012 is up to date. What's going on here? -- --
Re: [git-users] Unable to push
maybe you have multiple remotes and you pull from one and try to push to another. show us as possible an output from: *git branch -avv* and *git remote -vv* Alexandru Patranescu Tel: 0721378395 On Mon, Nov 5, 2012 at 11:33 PM, kramer.newsreader kramer.newsrea...@gmail.com wrote: Yeah that's what I would figure, but it isn't the case. Git status shows no conflicts. I did a git pull(and did pull in a change or two that was made since my last post here). Git status still showed no conflicts, so I tried a push again, but got the same error. On Monday, November 5, 2012 3:58:22 PM UTC-5, William Mizuta wrote: Is there conflicts in your repository? What is the result of a git status? If there is no conflicts, I think that someome pushed new commits and you need to do a git pull --rebase again. William Seiti Mizuta @williammizuta Desenvolvedor da Caelum On Mon, Nov 5, 2012 at 6:54 PM, kramer.newsreader kramer.n...@gmail.comwrote: Frustrated new git user here... Anyway, I have some changes that I would like to push but am unable I get the following error: error: failed to push some refs to 'ssh://git@...' To prevent you from losing history, non-fast-forward updates were rejected Merge the remote changes (e.g. 'git pull') before pushing again. See the 'Note about fast-forwards' section of 'git push --help' for details. Okay, so if I am translating git's terminology back to human language, I believe that this is telling me that I cannot push because I would lose history. My change is not downstream of where the head is. The thing is that I just did a successful git pull -rebase, so my changes should be right on top of the head. I can confirm that by attempting another pull: JohnKramer-2:statistics jkramer$ git pull --rebase Current branch nov2012 is up to date. What's going on here? -- -- --
Re: [git-users] Unable to push
maybe you have multiple remotes and you pull from one and try to push to another. show us as possible an output from: *git branch -avv* and *git remote -vv* * * On Monday, November 5, 2012 11:33:06 PM UTC+2, kramer.newsreader wrote: Yeah that's what I would figure, but it isn't the case. Git status shows no conflicts. I did a git pull(and did pull in a change or two that was made since my last post here). Git status still showed no conflicts, so I tried a push again, but got the same error. On Monday, November 5, 2012 3:58:22 PM UTC-5, William Mizuta wrote: Is there conflicts in your repository? What is the result of a git status? If there is no conflicts, I think that someome pushed new commits and you need to do a git pull --rebase again. William Seiti Mizuta @williammizuta Desenvolvedor da Caelum On Mon, Nov 5, 2012 at 6:54 PM, kramer.newsreader kramer.n...@gmail.comwrote: Frustrated new git user here... Anyway, I have some changes that I would like to push but am unable I get the following error: error: failed to push some refs to 'ssh://git@...' To prevent you from losing history, non-fast-forward updates were rejected Merge the remote changes (e.g. 'git pull') before pushing again. See the 'Note about fast-forwards' section of 'git push --help' for details. Okay, so if I am translating git's terminology back to human language, I believe that this is telling me that I cannot push because I would lose history. My change is not downstream of where the head is. The thing is that I just did a successful git pull -rebase, so my changes should be right on top of the head. I can confirm that by attempting another pull: JohnKramer-2:statistics jkramer$ git pull --rebase Current branch nov2012 is up to date. What's going on here? -- --
Re: [git-users] Unable to push
Here you go. I've anonymized checkin messages, domains, etc. By the way, I am *attempting* to work on the nov2012 branch both locally and remotely. $ git branch -avv master f645170 Fix over_18 parameter. See #19010 * nov20127fc7d04 [origin/nov2012] Little more javadoc ticket/15734 251a314 Adding support for ... ticket/17513 5251a79 Updated ... tmp_branch 3f4b7bd Fixed ... remotes/origin/HEAD- origin/master remotes/origin/master 9ecfb22 Support for ... remotes/origin/mojiva 71ef51a Fix ... remotes/origin/nov2012 7fc7d04 Little more javadoc remotes/origin/testa2b09e8 Recalculate ... remotes/origin/test-branch 443339d Fix ... $ git remote -vv gerritssh://user@gerrit.domain:29418/project (fetch) gerritssh://user@gerrit.domain:29418/project (push) originssh://git@git.domain/project (fetch) originssh://git@git.domain/project (push) On Monday, November 5, 2012 4:52:06 PM UTC-5, Alexandru Pătrănescu wrote: maybe you have multiple remotes and you pull from one and try to push to another. show us as possible an output from: *git branch -avv* and *git remote -vv* * * On Monday, November 5, 2012 11:33:06 PM UTC+2, kramer.newsreader wrote: Yeah that's what I would figure, but it isn't the case. Git status shows no conflicts. I did a git pull(and did pull in a change or two that was made since my last post here). Git status still showed no conflicts, so I tried a push again, but got the same error. On Monday, November 5, 2012 3:58:22 PM UTC-5, William Mizuta wrote: Is there conflicts in your repository? What is the result of a git status? If there is no conflicts, I think that someome pushed new commits and you need to do a git pull --rebase again. William Seiti Mizuta @williammizuta Desenvolvedor da Caelum On Mon, Nov 5, 2012 at 6:54 PM, kramer.newsreader kramer.n...@gmail.com wrote: Frustrated new git user here... Anyway, I have some changes that I would like to push but am unable I get the following error: error: failed to push some refs to 'ssh://git@...' To prevent you from losing history, non-fast-forward updates were rejected Merge the remote changes (e.g. 'git pull') before pushing again. See the 'Note about fast-forwards' section of 'git push --help' for details. Okay, so if I am translating git's terminology back to human language, I believe that this is telling me that I cannot push because I would lose history. My change is not downstream of where the head is. The thing is that I just did a successful git pull -rebase, so my changes should be right on top of the head. I can confirm that by attempting another pull: JohnKramer-2:statistics jkramer$ git pull --rebase Current branch nov2012 is up to date. What's going on here? -- --
Re: [git-users] Unable to push
I see I haven't use gerrit but from what I know, in a gerrit setup, you should not use the original repository. you can fetch from gerrit from the branch named nov2012 and push to gerrit on a branch named for/nov2012 most probably in this setup, origin could read-only I might suggest to you to not do this kind of branches base on time interval and start doing multiple of them based on topic. On Monday, November 5, 2012 11:59:07 PM UTC+2, kramer.newsreader wrote: Here you go. I've anonymized checkin messages, domains, etc. By the way, I am *attempting* to work on the nov2012 branch both locally and remotely. $ git branch -avv master f645170 Fix over_18 parameter. See #19010 * nov20127fc7d04 [origin/nov2012] Little more javadoc ticket/15734 251a314 Adding support for ... ticket/17513 5251a79 Updated ... tmp_branch 3f4b7bd Fixed ... remotes/origin/HEAD- origin/master remotes/origin/master 9ecfb22 Support for ... remotes/origin/mojiva 71ef51a Fix ... remotes/origin/nov2012 7fc7d04 Little more javadoc remotes/origin/testa2b09e8 Recalculate ... remotes/origin/test-branch 443339d Fix ... $ git remote -vv gerritssh://user@gerrit.domain:29418/project (fetch) gerritssh://user@gerrit.domain:29418/project (push) originssh://git@git.domain/project (fetch) originssh://git@git.domain/project (push) On Monday, November 5, 2012 4:52:06 PM UTC-5, Alexandru Pătrănescu wrote: maybe you have multiple remotes and you pull from one and try to push to another. show us as possible an output from: *git branch -avv* and *git remote -vv* * * On Monday, November 5, 2012 11:33:06 PM UTC+2, kramer.newsreader wrote: Yeah that's what I would figure, but it isn't the case. Git status shows no conflicts. I did a git pull(and did pull in a change or two that was made since my last post here). Git status still showed no conflicts, so I tried a push again, but got the same error. On Monday, November 5, 2012 3:58:22 PM UTC-5, William Mizuta wrote: Is there conflicts in your repository? What is the result of a git status? If there is no conflicts, I think that someome pushed new commits and you need to do a git pull --rebase again. William Seiti Mizuta @williammizuta Desenvolvedor da Caelum On Mon, Nov 5, 2012 at 6:54 PM, kramer.newsreader kramer.n...@gmail.com wrote: Frustrated new git user here... Anyway, I have some changes that I would like to push but am unable I get the following error: error: failed to push some refs to 'ssh://git@...' To prevent you from losing history, non-fast-forward updates were rejected Merge the remote changes (e.g. 'git pull') before pushing again. See the 'Note about fast-forwards' section of 'git push --help' for details. Okay, so if I am translating git's terminology back to human language, I believe that this is telling me that I cannot push because I would lose history. My change is not downstream of where the head is. The thing is that I just did a successful git pull -rebase, so my changes should be right on top of the head. I can confirm that by attempting another pull: JohnKramer-2:statistics jkramer$ git pull --rebase Current branch nov2012 is up to date. What's going on here? -- --
Re: [git-users] Unable to push
Is your remote a 'bare' repository, or does it have a working directory? -- I ask because you say you are working on the branch on both sides. It is normal to have your remote as a 'bare' repo, though you can manage if both are 'working' but in such cases you would use different branches on the repos so that you won't loose data. I am not really sure I understand your question. I didn't set up this repository. I have to work on it. The person who did is mostly unavailable. Having said that I *think* it is bare but I'm not sure. Does the output that I pasted above bear on that fact? If not, is there more information I can give? Sorry, but git is very confusing to me. --
Re: [git-users] Unable to push
Try to say the branch you want to pull and push: git pull origin nov2012 --rebase git push origin nov2012 William Seiti Mizuta @williammizuta Desenvolvedor da Caelum On Tue, Nov 6, 2012 at 3:43 AM, kramer.newsreader kramer.newsrea...@gmail.com wrote: Is your remote a 'bare' repository, or does it have a working directory? -- I ask because you say you are working on the branch on both sides. It is normal to have your remote as a 'bare' repo, though you can manage if both are 'working' but in such cases you would use different branches on the repos so that you won't loose data. I am not really sure I understand your question. I didn't set up this repository. I have to work on it. The person who did is mostly unavailable. Having said that I *think* it is bare but I'm not sure. Does the output that I pasted above bear on that fact? If not, is there more information I can give? Sorry, but git is very confusing to me. -- --
Re: [git-users] Unable to push
On Monday, November 5, 2012, kramer.newsreader kramer.newsrea...@gmail.com wrote: * nov20127fc7d04 [origin/nov2012] Little more javadoc ... remotes/origin/nov2012 7fc7d04 Little more javadoc Same commit on both the local and remote branches. It looks like you have nothing to push, or you've already pushed it. -- -PJ Gehm's Corollary to Clark's Law: Any technology distinguishable from magic is insufficiently advanced. --