Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show how a newly added file can be removed #164

Merged
merged 1 commit into from
Dec 4, 2017

Conversation

sivaraam
Copy link
Contributor

@sivaraam sivaraam commented Dec 4, 2017

This shows how the user can remove a newly added file from the
previous commit.

This shows how the user can remove a newly added file from the
previous commit.
Copy link
Collaborator

@RichardLitt RichardLitt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure why --cached is needed.

@deiga
Copy link
Contributor

deiga commented Dec 4, 2017

@RichardLitt Otherwise git will actually remove the file from disk, instead of just from git

@RichardLitt RichardLitt merged commit 0e478ad into k88hudson:master Dec 4, 2017
@RichardLitt
Copy link
Collaborator

Great. Thanks!

aroup pushed a commit to aroup/git-flight-rules that referenced this pull request Jan 17, 2020
This shows how the user can remove a newly added file from the
previous commit.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants