Wednesday, May 10, 2017

Git how to commit a file that is added into commit?

If this is your last commit and you want to completely delete the file from your local and the remote repository, you can:
remove the file git rm
commit with amend flag: git commit --amend.


references

No comments:

Post a Comment