Re: [git-users] Git on 2 computers and syn

2016-06-01 Thread Mark Waite
On Wednesday, June 1, 2016 at 9:26:44 AM UTC-6, Alain wrote: > > Thx Alex, > > regarding structure of Git repository i would like to understand something. > I've read book and watched videos with several "trends / methods" regard > sync several computers together. > > 1st method is to have

Re: [git-users] How GIT stores data

2016-06-01 Thread Dale R. Worley
Sharan Basappa writes: > Is there a way to retrieve the previous version of the file (that is, F.1). It looks like "git fsck --unreachable" would output the hash of such a file. Then you can use "git cat-file" to get the contents of each object. You'll have to inspect

Re: [git-users] pushing referenced librarys

2016-06-01 Thread Dale R. Worley
Konstantin Khomoutov writes: > If you're pushing your project directly from Eclipse (I mean, by > clicking some button or activating an entry of some pop-up menu) then > you are not using Git but rather EGit -- an Eclipse's library to work > with Git repositories

Re: [git-users] recover added file

2016-06-01 Thread Philip Oakley
- Original Message - From: Sharan Basappa To: Git for human beings Sent: Tuesday, May 31, 2016 4:13 PM Subject: [git-users] recover added file Folks, As I make changes to my files, I have been adding them to git repo but haven't been committing them. Today, due to an

Re: [git-users] git status

2016-06-01 Thread Konstantin Khomoutov
On Wed, 1 Jun 2016 08:30:55 -0700 (PDT) Sharan Basappa wrote: > I need some help on git status. > > When I do git status in my project directory, I see 3 categories as > follows: > > 1) Changes to be committed: > 2) Changed but not updated: > 3) Untracked files: > >

[git-users] git status

2016-06-01 Thread Sharan Basappa
Folks, I need some help on git status. When I do git status in my project directory, I see 3 categories as follows: 1) Changes to be committed: 2) Changed but not updated: 3) Untracked files: Under "Changes to be committed" - I see files marked as modified & new file I assume that new file

Re: [git-users] Git on 2 computers and syn

2016-06-01 Thread Raf Roger
Thx Alex, regarding structure of Git repository i would like to understand something. I've read book and watched videos with several "trends / methods" regard sync several computers together. 1st method is to have several git repository (1 per project) 2nd method is to have 1 main git repository

Re: [git-users] Detect which ignore file (and line) that is preventing file from being added.

2016-06-01 Thread Dale R. Worley
Fabian Jonsson writes: > I had a problem recently trying to add .dll files to git. No suggestion I > found on SO seemed to help. When trying to add each file manually in the > Git bash, I received a message saying that one of my ignore files prevented > the file from being

Re: [git-users] Git on 2 computers and syn

2016-06-01 Thread Alexandru Pătrănescu
Hi, As BitBucket is high available I suggest to keep it as a main central repo. To have sync-ed copy of it you can have repos in any other places. Start them with *git clone --mirror * and update them once every minute with *git remote update --prune*. Alex On Wed, Jun 1, 2016 at 5:51 PM,

[git-users] Git on 2 computers and syn

2016-06-01 Thread Alain
Hi, i use for now BitBucket (from ATlassian) but in order to not depend on internet connection, i would like to be sure both computer (laptop and desktop) always have the same code. As git is a distributed system, i would like to sync not only 1 repository but all repositories at once.

[git-users] Re: Patch versions when mailing

2016-06-01 Thread Tony Makkiel
Found the solution, there is an argument -v. So use - v2 for v2! On Wednesday, June 1, 2016 at 12:49:05 PM UTC+1, Tony Makkiel wrote: > > Hi All, > I am trying to familiarise myself with "git format-patch". I > noticed people creating different versions of a patch, which looks better. >

[git-users] Detect which ignore file (and line) that is preventing file from being added.

2016-06-01 Thread Fabian Jonsson
I had a problem recently trying to add .dll files to git. No suggestion I found on SO seemed to help. When trying to add each file manually in the Git bash, I received a message saying that one of my ignore files prevented the file from being added. I would've liked to see which one of the

[git-users] Patch versions when mailing

2016-06-01 Thread Tony Makkiel
Hi All, I am trying to familiarise myself with "git format-patch". I noticed people creating different versions of a patch, which looks better. For eg :- http://comments.gmane.org/gmane.linux.kernel/2231114 In the above link it says patch version 7, v7. How is that done? Normally when