Home / Linux / Git

Git


Check config sources for Git:
  1. git config --list --show-origin

Ignore line endings:

  1. git config --global core.autocrlf ture

To revert changes to a single file:

  1. git checkout filename [for uncommitted files]

To revert all files:

  1. git revert --hard

    Post a comment

    Your Name or E-mail ID (mandatory)

    Note: Your comment will be published after approval of the owner.




     RSS of this page