Profile
Achievement
You have not received any achievements.jturmel's Recent Snippets
- All /
 « Prev 1 Next »
So we use Gerrit for code reviewing and I run **git commit --amend** quite a bit, a lot of times I don\\\'t want to amend the message I just want to add my new files to my existing commit and keep working, this makes that part easier.  Just add this...
        
        
        
            0 
        
        
            920 
        
                    posted 15 years ago by jturmel
            Squashing
---------
WARNING: "git rebase" changes history. Be careful. Google it.
git rebase --interactive HEAD~10
  (then change all but the first "pick" to "squash")
  squash the last 10 commits into one big commit
        
        
        
            0 
        
        
            1931 
        
                    posted 15 years ago by jturmel
            You must have already setup your /etc/init.d/some_binary file and it should have the chkconfig line in it that specifies the on/off run levels and start/stop priorities.
        
        
        
            0 
        
        
            1368 
        
                    posted 16 years ago by jturmel
            Example code would remove all files/folders recursively starting from the current folder named file_name
        
        
        
            0 
        
        
            1294 
        
                    posted 17 years ago by jturmel