GitHub no longer syncs

This is my first GitHub question, so this might be pretty straightforward stuff, and I'm sorry if it's repetitive or boring.

I have GitHub installed on my system (W7) for a long time. Everything worked fine until I got a new computer. All of our data from the Users / directory is stored centrally, so whenever I log on to any computer, it transfers all my data to that specific computer.

I installed GitHub on a new machine and made it look for the repos (which were still there because they were stored on the server). However, when I click "Sync", GitHub tells me "Couldn't sync this branch. You may need to open a shell and debug the state of the repo."

When I open GitShell and type "git pull", it tells me "git:" pull "is not a git command". Since I also have msysgit installed, I tried to pull with git Bash and it worked fine.

After reading stuff online, I thought it might be a great idea to reinstall GitHub. However, this seems impossible. (My account does not have admin rights, I need to log in with a special admin account, but after I reinstalled it and changed the profiles again, my normal account again downloads the GitHub files from my profile and it seems that the program never deleted).

So all the info: do you have any ideas why GitHub is behaving so weird (while msysgit is working fine)? Is there a way to fix this without reinstalling GitHub that you can think of?

+3


source to share


2 answers


My problem was only resolved by our IT professionals with a different admin with more privileges than my admin account. If this problem happens to you, I recommend checking your IT resources if you really have ALL the necessary administrator rights required to uninstall the software.



0


source


The GitHub Windows app is not installed for all users; it is installed only for the user who installed it. Therefore, installing it with an administrator account will usually not work. A few tips:



  • Right click the installer on your non-privileged account and run it as administrator, then enter the machine administrator password. This should allow you to reinstall it as a user.
  • Regarding git 'pull' not found

    : Check your way. Is it possible that it didn't find the correct git executable? I think both msysgit and GitHub will work fine, there might be a problem somewhere.
+1


source







All Articles