Skip to main content

Posts

Showing posts from July, 2022

Setting up git and github

Had issue with these before first set up ssh bcz seemingly github is no longer accepting https authentification. step 1. watch this video: https://www.youtube.com/watch?v=du3AnclSQys&list=PLCRqvOk_BGhUcqxZbO2fZvC0nw8vWcgbE&index=5 to generate ssh key on the system and match it up with github ssh auth. step 2. having done this, you can then follow github guide that you see after creating a new repo.                                                                                    

Git error: 'folderName/' does not have a commit checked out

The cause for this issue is that you might have had some previous operations with git in this current folder. Solution: Check you might have a folder with the same name as your repo. if so, delete(first check the content of the folder, it may contain .git file or nothing. it is good idea to first check to avoid doing mistakes)  that folder and try again. This should resolve the issue.