After a long time I created a repo on my Github account.Creating a repo is quite easy on Github, simply login to your account and click on ‘create repo’ button. After creating git repo, now it was time to push all my codes from my desktop to github repo. After cloning the repo into my […]
Git Server
Install and upgrade to latest Git version on Ubuntu/Debian/Linux Mint
In this tutorial we will learn,how to install and upgrade to latest Git version on Debian based Operating System.At the time of writing this post,git version 1.9.1 has been released on 2014-03-18. The information of new Git version release can be obtained from git-scm.com The practical has been tested successfully in Ubuntu,Debian and Linux Mint. […]
error: src refspec master does not match any
While working in Github,I was trying to push my code in my Github repository.After deleting all files from repo,I tried to push the new code.But I encounter with given below Error: error: src refspec master does not match any. error: failed to push some refs to ‘https://github.com/sharadchhetri/sharadchhetri.github.io’ To solve this error,run the below given command […]
How to remove file and directory from Git repo
In this post I am sharing the command to remove files and folder from git repo.The command will remove files from the working tree and from the index. Note: Before removing any files and directory it is always a good practice to keep the backup of the data.Hence suggesting to first take the backup of […]
How to create new repository in self hosted Git Server
How to create new repository in self hosted Git Server In this tutorial we will learn,how to create new repository in self hosted Git Server.Previously, I have written a post on setting own git server in CentOS and Ubuntu. Follow the given below steps to create new repo in self hosted Git Server Step 1: […]
How to write description of git repo
How to write description of git repo In this post we will learn about a tip that is how to write description of git repo.We have setup git server with gitolite and gitweb in Linux Server by following the previous tutorial(in CentOS and Ubuntu). If you open the gitweb you may find there is no […]