git-index Questions

2

Solved

I use git gui to select lines for being staged for a commit. This normally works like a charm. I am aware of the option to do the same on the command line. Whenever a file does not initially have ...
Pluralize asked 4/11, 2012 at 23:1

1

Solved

I just did the following to to keep a different copy of my config.php file in my localhost vs. my production environment: $ git update-index --assume-unchanged application/config/config.php Unfo...
Floc asked 18/9, 2012 at 16:47

2

Solved

For example, I create file a in the repo(suppose I'm on the master branch), then I git add a and git commit. After that I git branch copy and git checkout copy. Finaly I create file b in the word d...
Extragalactic asked 23/8, 2012 at 8:46

3

Solved

Still having a hard time getting my head wrapped around the concept of staging as it applies to Git. Can any analogies be made with SVN? What is the primary purpose of having a stage level in Git?...
Kinny asked 28/7, 2012 at 17:25

1

Solved

I was confused the naming of staging directory (Git Index) in Git. Is there any special meaning such that it is called Index? Why not just called Cache / or Temp directory so that we can understa...
Unpolled asked 16/7, 2011 at 8:49

4

Solved

The git book defines the git index: The Git index is used as a staging area between your working directory and your repository. You can use the index to build up a set of changes that you wa...
After asked 9/7, 2011 at 14:48

1

I have a problems with a git repository and windows. The problem is that the git repository has a linux symbolic link in it and with developers running windows, that obviously does not work. Now si...
Paugh asked 26/5, 2011 at 11:55

1

I have a problems with a git repository and windows. The problem is that the git repository has a linux symbolic link in it and with developers running windows, that obviously does not work. Now si...
Compost asked 26/5, 2011 at 11:55

3

Solved

GitRef.org - Basic: git rm will remove entries from the staging area. This is a bit different from git reset HEAD which "unstages" files. By "unstage" I mean it reverts the staging area to w...
Mitman asked 27/4, 2011 at 3:13

1

Solved

In git documentation (like git-checkout-index http://linux.die.net/man/1/git-checkout-index ), there are references to "stat information" in the index file. What is this mysterious "stat informatio...
Vaticide asked 8/3, 2011 at 15:23

© 2022 - 2024 — McMap. All rights reserved.