[git-users] ignore a file without listing it in .gitignore (only locally)

2014-05-13 Thread Leonardo Petry
In the project I am working on there is a config file with some DB users and password. I want this file not to be tracked in my local machine, but if there are updates to it, I want to receive those updates from the remote. Here is how I do it now: $ git add # *all changed files except the con

Re: [git-users] What is the best way to visualize branch history line?

2014-05-13 Thread Leonardo Petry
Would git log print something like this: http://denisonluz.com/blog/wp-content/uploads/terminal-pimped-lg.jpg On Tuesday, May 13, 2014 10:19:44 AM UTC-4, Konstantin Khomoutov wrote: > > On Tue, 13 May 2014 09:47:40 -0400 > wor...@alum.mit.edu (Dale R. Worley) wrote: > > > > What would be the

Re: [git-users] What is the best way to visualize branch history line?

2014-05-13 Thread Leonardo Petry
13, 2014 at 2:20 PM, Leonardo Petry > > > wrote: > >> What would be the best command to view a branch history? Right now I use >> *git >> show-branch* but I get a huge list of commits and branches. Ideally I >> would like to see a couple of previous commits an

[git-users] What is the best way to visualize branch history line?

2014-05-12 Thread Leonardo Petry
What would be the best command to view a branch history? Right now I use *git show-branch* but I get a huge list of commits and branches. Ideally I would like to see a couple of previous commits and be able to see the which files where added to each commit. On another topic I would appreciate