Skip to main content
Active reading [<https://en.wikipedia.org/wiki/Git>].
Source Link
Peter Mortensen
  • 31.3k
  • 22
  • 109
  • 132

If you type:

git status

gitGit will tell you what is staged, etc., including instructions on how to unstage:

use "git reset HEAD <file>..." to unstage

I find gitGit does a pretty good job of nudging me to do the right thing in situations like this.

Note: Recent gitGit versions (1.8.4.x) have changed this message:

(use "git rm --cached <file>..." to unstage)

If you type:

git status

git will tell you what is staged, etc, including instructions on how to unstage:

use "git reset HEAD <file>..." to unstage

I find git does a pretty good job of nudging me to do the right thing in situations like this.

Note: Recent git versions (1.8.4.x) have changed this message:

(use "git rm --cached <file>..." to unstage)

If you type:

git status

Git will tell you what is staged, etc., including instructions on how to unstage:

use "git reset HEAD <file>..." to unstage

I find Git does a pretty good job of nudging me to do the right thing in situations like this.

Note: Recent Git versions (1.8.4.x) have changed this message:

(use "git rm --cached <file>..." to unstage)
Rollback to Revision 2
Source Link
Jonathan Leffler
  • 746.6k
  • 144
  • 937
  • 1.3k

If you type:

git status

git will tell you what is staged, etc, including instructions on how to unstage:

gituse "git reset HEAD <file>..." to unstage

I find git does a pretty good job of nudging me to do the right thing in situations like this.

Note: Recent git versions (1.8.4.x) have changed this message:

Use

git(use "git rm --cached <file>..." to unstage)

If you type:

git status

git will tell you what is staged, etc, including instructions on how to unstage:

git reset HEAD <file>...

I find git does a pretty good job of nudging me to do the right thing in situations like this.

Note: Recent git versions (1.8.4.x) have changed this message:

Use

git rm --cached <file>...

If you type:

git status

git will tell you what is staged, etc, including instructions on how to unstage:

use "git reset HEAD <file>..." to unstage

I find git does a pretty good job of nudging me to do the right thing in situations like this.

Note: Recent git versions (1.8.4.x) have changed this message:

(use "git rm --cached <file>..." to unstage)
deleted 17 characters in body
Source Link
bluish
  • 27k
  • 28
  • 123
  • 183

If you type:

git status

git will tell you what is staged, etc, including instructions on how to unstage:

use "gitgit reset HEAD <file>..." to unstage

I find git does a pretty good job of nudging me to do the right thing in situations like this.

Note: Recent git versions (1.8.4.x) have changed this message:

Use

(use "gitgit rm --cached <file>..." to unstage)

If you type:

git status

git will tell you what is staged, etc, including instructions on how to unstage:

use "git reset HEAD <file>..." to unstage

I find git does a pretty good job of nudging me to do the right thing in situations like this.

Note: Recent git versions (1.8.4.x) have changed this message:

(use "git rm --cached <file>..." to unstage)

If you type:

git status

git will tell you what is staged, etc, including instructions on how to unstage:

git reset HEAD <file>...

I find git does a pretty good job of nudging me to do the right thing in situations like this.

Note: Recent git versions (1.8.4.x) have changed this message:

Use

git rm --cached <file>...
added 128 characters in body
Source Link
Paul Beckingham
  • 14.8k
  • 5
  • 35
  • 67
Loading
Source Link
Paul Beckingham
  • 14.8k
  • 5
  • 35
  • 67
Loading