RSS

Category Archives: git

git files changed after pull

git diff --name-only @{1}

 
Leave a comment

Posted by on August 18, 2010 in git

 

git cherry pick file


$ git log path/to/file
$ git checkout <branch to merge into>
$ git cherry-pick -x <commit sha>

 
Leave a comment

Posted by on July 23, 2010 in git

 

git pretty log

git config --global alias.lol "log --pretty=oneline --abbrev-commit --graph --decorate"

or

git config --global alias.lg "log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative"

 
Leave a comment

Posted by on September 20, 2009 in git

 

Tags:

git color

git config --global color.ui true

 
Leave a comment

Posted by on September 13, 2009 in git

 

Tags:

push changes to origin git server

git push origin master

 
Leave a comment

Posted by on June 16, 2009 in git

 

Tags:

 
Follow

Get every new post delivered to your Inbox.