Category Archives: git

Find the recent git branch

Find all the commits to the git repo You have a git repo but don’t have any idea what the most recent git branch. You can find it from the git repo. In my case i have access to the git repo in my linux machine as follows /home/git/my_lib.git Once you are in the folder […]

Posted in git

Git error

If you get an error fatal: Could not read from remote repository Please make sure that you have the correct access rights and the repository exists. But you can ssh to the repository through the ssh client, but your GitBash is not letting you to push the commit to the remote server. Issue the command […]

Posted in git

Git

How to use Git Create a remote repository Create a local repository Add files to the local repository push the local files to the remote repository Create a remote repository How to setup a git server is in a different page. I’m going to concentrate on how to create a repository in a remote server […]

Posted in git