Git Ignore File Permission

Using Ubuntu for web development is a perfect match. Since i migrate to Ubuntu a month ago, i could code faster and deliver more result. Instead of great environment, i also found an issue with Git and File Permission. By default Git detect file permission, and if i change a file or directory permission then Git will track it and consider it as new changes. In Windows environment, i never found this issue. And since i'm also using suPHP libraries on my LAMP stack, i must use 755 file … Read more...

Install Git From Source On Centos

If you install Git from repository On Centos 6.5, you will the the old version of git v1.7.x. But i need to use a feature that only available on git v1.8.x or more, for example git pull --recursive, this command is for update git repository along with the submodules. So to fix it, i need to compile git from the sources. To do that you need to install some of the requirements as the command below: To install Git from Sources follow the steps below: I have been developing an auto deployment … Read more...

Create Patch Files From Multiple Commits In Git

As i am working on some open source project with the community, it is best to send the file patches instead of merge request. And couple projects are not using Github or Gitlab. And the team leader need us to send the patch file instead of push them right away to the main git repository. The reason for testing and staging purpose. Fortunately git could export those commits into patches with this command: where -x means how many commits back from the current head and it has to be … Read more...

Git Introduction

What is Git? Git is a distributed revision control and software code management used in team software or web development. Git allow single developer or a team to develop software or web application together with fast, efficient and reliable. Git was originally develop by Linus Torvalds (creator of linux) in 2005 for his Linux kernel development. Why Git Beside Git is a free and open source, Git also a very powerful tools and incredibly fast for software code management. Don't forget that Git … Read more...