SHARE
TWEET

Untitled

a guest Apr 20th, 2019 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 0> git init
  2. Initialized empty Git repository in /Users/chrisb/git_test/.git/
  3. 0> echo "some\ncontent" >> foo.txt
  4. 0> git add .
  5. 0> git commit -m 'first'
  6. [master (root-commit) 3e1a325] first
  7.  1 file changed, 2 insertions(+)
  8.  create mode 100644 foo.txt
  9. 0> git diff-index HEAD
  10. 0> touch foo.txt
  11. 0> git diff-index HEAD
  12. :100644 100644 6cfc2af7f5fbb8cd7cb226e7a70d1829a0678767 0000000000000000000000000000000000000000 M  foo.txt
  13. 0> git status
  14. On branch master
  15. nothing to commit, working tree clean
  16. 0> git diff-index HEAD
  17. 0>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top