Welcome To Snipplr


Everyone's Recent Snippets Tagged git



A fast and easy way to go through all vim-pathogen bundles and perform a git pull on all of them.
0 2528 posted 14 years ago by luizlopes
Shows you the full contents of any file at any time in history
0 2266 posted 14 years ago by therobot
"-n" just shows you what will be deleted. Replace it with "-f" to actually clean your repository
0 2069 posted 14 years ago by limepix
Restore a deleted file within the git repo
1 2089 posted 14 years ago by Glycerine
Update a Git repo with PHP
0 1799 posted 15 years ago by adampatterson
Now when you do a git commit without specifying a commit message, TextMate will pop-up and allow you to enter a commit message in it. When you save the file and close the window, the commit will go through as normal. (If you have another text editor...
0 3945 posted 15 years ago by magicrebirth
0 1833 posted 15 years ago by limepix
0 1569 posted 15 years ago by ragnarokkrr
Useful when managing a bunch of submodules.
0 1587 posted 15 years ago by iloveitaly
0 1600 posted 15 years ago by craig0990
run this in git bash to see a pretty blame
0 1909 posted 15 years ago by root_hacker
0 1771 posted 15 years ago by Roen
0 1511 posted 15 years ago by chrisramakers
Make sure it has the appropriate rights. chmod -x post-receive
0 1392 posted 15 years ago by Seich
0 1732 posted 15 years ago by ferro
0 1760 posted 15 years ago by manuelstofer
0 1821 posted 15 years ago by jmccartie
0 2291 posted 15 years ago by arunpjohny
Opcja Opis %H Suma kontrolna zmiany %h Skrócona suma kontrolna zmiany %T Suma kontrolna drzewa %t Skrócona suma kontrolna drzewa %P Sumy kontrolne rodziców %p Skrócone sumy kontrolne rodziców %an Nazwisko autora %ae Adres e-mail autora...
0 4012 posted 15 years ago by yanek1988
0 1713 posted 15 years ago by titosemi
0 2979 posted 15 years ago by gerhardsletten
1 1902 posted 15 years ago by wdso
git branch will give us all the branches in the current repository and the current branch will be denoted by a * mark.
0 2042 posted 16 years ago by arunpjohny
This will display the commit difference between the origin/master branch and the current working branch
0 2038 posted 16 years ago by arunpjohny
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 1558 posted 16 years ago by jturmel