Did you face Cannot open .git/FETCH_HEAD: Permission denied when you try to run a git pull command on your site root folder hosted on a linux server running ubuntu? If you do you are at right place for a permanent…
Tag: git
Automatic Deployment of your Git Push to Remote Server
Step by step deployment of Git Push hook to push changes to my server in a single command I have a ReactJS app setup as a git repo. Every-time I update and push to my currently working dev branch I…
How to Remove .DS_Store files from a Git repository?
DS_Store files are automatically created by Mac OS X Finder in browsed directories. These files contain information about system configuration. If you upload them along with other files, the files can be misused to obtain information about your computer. For…
How to add or remove a git submodule?
While a git sub module could be added with a single line command such as: git submodule add https://github.com/UrlToRepository.git foldernameofrepository it can be cumbersome to remove a submodule. There are various steps involved such as given in the next paragraph.…