Need help push/pull/fetch git repository with Tortoise Git please

If you're a new user of AppGini, feel free to ask general usage questions, or look for answers here.
Post Reply
User avatar
urichard
Veteran Member
Posts: 87
Joined: 2018-11-01 12:11

Need help push/pull/fetch git repository with Tortoise Git please

Post by urichard » 2022-07-22 10:54

Hi,

I hope someone can assist me, I've tried searching online but to no success.

I have installed Git for Windows and Tortoise Git and created a repository in my Appgini generated local folder : C:\xampp\htdocs\apps\test

I am able to commit all changes to the repository but for some reason the folders that are synced and committed to the repository does not show a checkmark anymore it used to (I was trying multiple options at this stage)

I have created an account on GitHub and created my first repository and connected that Https URL to Tortoise git as a remote but This is the error I keep getting from Tortoise Git:
git.exe push --set-upstream --progress "origin" master
To https://github.com/Rich3art/test.git
! [rejected] master -> master (fetch first)
error: failed to push some refs to 'https://github.com/Rich3art/test.git'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., 'git pull …') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.

git did not exit cleanly (exit code 1) (1969 ms @ 22-Jul-22 12:35:03 PM)

I Even uninstalled Tortoise Git and re installed.

I want to use Tortoise Git as its easy to use don't want to use Git for Windows but i would really like to have all files remotely pushed and pulled through Git repository on GitHub so I can manage the code changes from anywhere.

I'm not advanced in this but this is now a road block for me, otherwise I will have to use something like google drive to sync my folder but that doesn't keep older versions of the code as Tortoise Git does.

Please help

Kind Regards,
Richard
[email protected][/color]

Kind Regards
Richard

Post Reply