简体   繁体   中英

Git: Nothing happens after pushing (git push)

I want to push code to my repo on gitlab. I am working on a lab PC, where I have to enter my credentials everytime i use fetch, pull or push. fetch and pull are working, but if I use git push, I can enter username and password and then nothing happens. just the cursor in a blank line. no error message. I have to ctrl-c to type a new command. i also tried git push -u origin mybranch. same result.

Has anyone ever had a similar problem or an idea how to solve it? Best Regards, Peter

I solved it!

It had to do with LFS (Large File System) I didn't know anything about it, but all I had to do, was to delete 4 files in the git/hooks/ folder. It works now.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM