[git-users] Gitignore

2011-12-02 Thread Flávio Alencar
Hi!!

I have two questions:

1 - Do I have to configure the gitignore before running the first commit?

2 - I configured these parameters in the gitignore for the Visual Studio
projets. Do you have another suggestions?

[Oo]bj/ [Bb]in/ *.suo *.user /TestResults *.vspscc *.vssscc


Thanks!

*


Atenciosamente,

Flávio Alencar **
*https://mail.sisgraph.com.br/exchweb/bin/redir.asp?URL=http://www.sisgraph.com.br/

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.



[git-users] Re: Gitignore

2011-12-02 Thread Thomas Ferris Nicolaisen
Hi,

1. You can configure .gitignore whenever you like. If you commit files, and 
later ignore them, they will be treated as normal checked-in files, until 
you delete them (from then on the ignore will take effect).

2. There's a good starting point in the Visual Studio - GitExtensions 
plugin (there's a ignore usual VS.net output files option in there 
somewhere): http://code.google.com/p/gitextensions/ - if you don't want to 
install that there is a similar list here: 

http://stackoverflow.com/questions/2143956/gitignore-for-visual-studio-projects-and-solution

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/git-users/-/E8cw2QK0F3EJ.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.



Re: [git-users] Gitignore

2011-12-02 Thread Konstantin Khomoutov
On Fri, 2 Dec 2011 12:13:43 -0300
Flávio Alencar flavi...@gmail.com wrote:

 I have two questions:
 
 1 - Do I have to configure the gitignore before running the first
 commit?
No. It's just a way to hide certain files from certain commands
operating on files (such as git-status or git-add).
git-commit does not operate on files and does not use .gitignore.
Moreover, Git does not need this file to be tracked.  Just some
commands see if it's there and use it if it is.

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.



[git-users] Re: delete branches

2011-12-02 Thread Thomas Ferris Nicolaisen
Hi Thorsten,

Each user has a full clone of the origin repository. As it is distributed, 
each user will have all branches (even though they remote branches, they 
also fully exist in each clone.

So user b can still do a 

git checkout origin/branch/test 

.. and keep working on that branch, push it to origin (thereby re-creating 
it), etc.

If a user wants to clean up remote branches that don't exist any more, the 
key-words are *git remote prune*. 


$git remote --help

   prune
   Deletes all stale tracking branches under name. These stale 
branches have already been removed from the remote repository referenced by 
name, but are still locally
   available in remotes/name.
*
*
So, *git remote prune origin* for user-b should do the trick,.

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/git-users/-/_Yf3cN6q2UYJ.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.



Re: [git-users] Re: Gitignore

2011-12-02 Thread Flávio Alencar
Thank you Thomas!


*


Atenciosamente,

Flávio Alencar **
*https://mail.sisgraph.com.br/exchweb/bin/redir.asp?URL=http://www.sisgraph.com.br/



2011/12/2 Thomas Ferris Nicolaisen tfn...@gmail.com

 Hi,

 1. You can configure .gitignore whenever you like. If you commit files,
 and later ignore them, they will be treated as normal checked-in files,
 until you delete them (from then on the ignore will take effect).

 2. There's a good starting point in the Visual Studio - GitExtensions
 plugin (there's a ignore usual VS.net output files option in there
 somewhere): http://code.google.com/p/gitextensions/ - if you don't want
 to install that there is a similar list here:


 http://stackoverflow.com/questions/2143956/gitignore-for-visual-studio-projects-and-solution

  --
 You received this message because you are subscribed to the Google Groups
 Git for human beings group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/git-users/-/E8cw2QK0F3EJ.
 To post to this group, send email to git-users@googlegroups.com.
 To unsubscribe from this group, send email to
 git-users+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/git-users?hl=en.


-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.