Skip to content

Instantly share code, notes, and snippets.

@taichiman
Last active December 30, 2015 00:09
Show Gist options
  • Save taichiman/7747280 to your computer and use it in GitHub Desktop.
Save taichiman/7747280 to your computer and use it in GitHub Desktop.
Git, git, git
Commit:
git diff --check (убирает whitespace)
==
git update-index --assume-unchanged <file>
git update-index --no-assume-unchanged <file>
==
git log one-branch..another-branch shows everything that one-branch needs to have everything another-branch has.
You may also be interested in git show-branch as a way to see what's where.
==
@taichiman
Copy link
Author

посмотреть как менялся файл
git log --graph --decorate --oneline Gemfile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment