![]() ![]() I see symbolic links: tmp -> /private/tmp, var -> /private/var, and etc -> /private/etc. As is the standard on Macs, if I execute: ssh / If I ssh to REMOTE and check file permissions, here's what I see: ls -l /gitĪll files are rw for owner (me) and group bashrc, and set $TMPDIR to /git/tmp.īack on LOCAL, if I execute ssh echo \$TMPDIR Writing objects: 100% (10/10), 1.46 KiB, done.Įrror: failed to push some refs to researched this problem and it sounded like it might be that might $TMPDIR is wrong, so I ssh'ed to REMOTE, created a directory named /git/tmp, made sure it had write permissions, edited my. To push my changes from LOCAL back to REMOTE and got this: Counting objects: 19, done. Then (still on LOCAL) I executed: git push On my Mac ("LOCAL") I then edited a few files, deleted a couple, and did git -a FILES Then, back on LOCAL, I did: git clone was fine. I ssh'd to REMOTE as me and created a git repository there in a folder named /git/PROJECT.git using cvs2git. All employees of the company (including me) are members of a group I'll cleverly call GROUP. After this, git push worked with no problems. hint: Updates were rejected because the tip of your current branch is behind. I had to run git reset -hard to remove the automatic local changes created by Sugar, and then I ran the BFG command. error: failed to push some refs to server:my/repo. Change the remote repository's URL in your case. To push a branch on remote, your branch needs to have the latest changes present in remote repository If you get the failed to push error, first do git pull. git commit -m'upload' git push -set-upstream origin master. Do it like this: git remote add origin git remote -v git add. Make sure that Git LFS is installed correctly, by running git lfs install. Just brew update & brew upgrade git-lfs and you should be good to go. git log showed two commits where this file was added and then removed. Because maybe it has nothing to push (really, nothing to push). Upgrade your Git LFS version to the latest, which is 1.5.5 and available via Homebrew. ![]() We're transitioning from cvs to git, and I have a test setup where I have a git server that authenticates users with LDAP, let's call it REMOTE, and then my personal machine, let's call it LOCAL. Yes, what you said is exactly what happened. I'm starting to suspect that git just doesn't like LDAP. Updating local tracking ref 'refs/remotes/origin/master' To master -> master (unpacker error)Įrror: failed to push some refs to being overly optimistic, I thought maybe the "-verbose" option would give me some details, so I immediately tried again: git push -verboseĪnd this time it worked: Pushing to objects: 9, done. Remote: error: unable to create temporary file: No such file or directoryĮrror: unpack failed: unpack-objects abnormal exit Writing objects: 100% (5/5), 588 bytes, done. rejected development -> development (non-fast-forward) error: failed to push some refs to :myrepo. My original post follows, but here is the new thing I discovered:Īnd it gave me its usual error: Counting objects: 9, done.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |