/gist:2fdc3dbcd4e79599da25 Secret
Created
August 17, 2013 16:32
Star
You must be signed in to star a gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| slava@ubuntu:~/apps/thanh-real-estate$ git add . | |
| slava@ubuntu:~/apps/thanh-real-estate$ git commit -m "ok" | |
| # On branch master | |
| # Changes not staged for commit: | |
| # (use "git add/rm <file>..." to update what will be committed) | |
| # (use "git checkout -- <file>..." to discard changes in working directory) | |
| # | |
| # deleted: public/css/lt_ie_10.css | |
| # deleted: vendor/assets/javascripts/PIE.js | |
| # | |
| no changes added to commit (use "git add" and/or "git commit -a") | |
| slava@ubuntu:~/apps/thanh-real-estate$ git push | |
| warning: push.default is unset; its implicit value is changing in | |
| Git 2.0 from 'matching' to 'simple'. To squelch this message | |
| See 'git help config' and search for 'push.default' for further information. | |
| (the 'simple' mode was introduced in Git 1.7.11. Use the similar mode | |
| 'current' instead of 'simple' if you sometimes use older versions of Git) | |
| Password for 'https://slavajacobson@bitbucket.org': | |
| Everything up-to-date | |
| slava@ubuntu:~/apps/thanh-real-estate$ git add . -A | |
| slava@ubuntu:~/apps/thanh-real-estate$ git commit -m "moved files" | |
| [master f7a08d1] moved files | |
| 2 files changed, 92 deletions(-) | |
| delete mode 100644 public/css/lt_ie_10.css | |
| delete mode 100644 vendor/assets/javascripts/PIE.js | |
| slava@ubuntu:~/apps/thanh-real-estate$ git push | |
| warning: push.default is unset; its implicit value is changing in | |
| Git 2.0 from 'matching' to 'simple'. To squelch this message | |
| See 'git help config' and search for 'push.default' for further information. | |
| (the 'simple' mode was introduced in Git 1.7.11. Use the similar mode | |
| 'current' instead of 'simple' if you sometimes use older versions of Git) | |
| Password for 'https://slavajacobson@bitbucket.org': | |
| Counting objects: 13, done. | |
| Compressing objects: 100% (6/6), done. | |
| Writing objects: 100% (7/7), 572 bytes, done. | |
| Total 7 (delta 3), reused 0 (delta 0) | |
| To https://slavajacobson@bitbucket.org/slavajacobson/thanh-real-estate.git | |
| 1254d79..f7a08d1 master -> master | |
| slava@ubuntu:~/apps/thanh-real-estate$ git add -u | |
| slava@ubuntu:~/apps/thanh-real-estate$ git commit -m "moved files" | |
| # On branch master | |
| nothing to commit, working directory clean | |
| slava@ubuntu:~/apps/thanh-real-estate$ git push | |
| warning: push.default is unset; its implicit value is changing in | |
| Git 2.0 from 'matching' to 'simple'. To squelch this message | |
| and maintain the current behavior after the default changes, use: | |
| git config --global push.default matching | |
| To squelch this message and adopt the new behavior now, use: | |
| git config --global push.default simple | |
| See 'git help config' and search for 'push.default' for further information. | |
| (the 'simple' mode was introduced in Git 1.7.11. Use the similar mode | |
| 'current' instead of 'simple' if you sometimes use older versions of Git) | |
| Password for 'https://slavajacobson@bitbucket.org': | |
| Everything up-to-date | |
| slava@ubuntu:~/apps/thanh-real-estate$ git rm vendor/assets/javascripts/PIE.js | |
| fatal: pathspec 'vendor/assets/javascripts/PIE.js' did not match any files | |
| slava@ubuntu:~/apps/thanh-real-estate$ git rm --cached file | |
| fatal: pathspec 'file' did not match any files | |
| slava@ubuntu:~/apps/thanh-real-estate$ git rm vendor/assets/javascripts/PIE.js --cached file | |
| fatal: pathspec 'vendor/assets/javascripts/PIE.js' did not match any files | |
| slava@ubuntu:~/apps/thanh-real-estate$ git clean . | |
| fatal: clean.requireForce defaults to true and neither -n nor -f given; refusing to clean | |
| slava@ubuntu:~/apps/thanh-real-estate$ git clean . -fn | |
| slava@ubuntu:~/apps/thanh-real-estate$ git clean . -f | |
| slava@ubuntu:~/apps/thanh-real-estate$ git commit -m "cleaned" | |
| # On branch master | |
| nothing to commit, working directory clean | |
| slava@ubuntu:~/apps/thanh-real-estate$ git clean . -fxn | |
| Would remove db/development.sqlite3 | |
| Would remove db/production.sqlite3 | |
| Would remove log/Production.log | |
| Would remove log/development.log | |
| Would remove log/production.log | |
| Would not remove tmp/ | |
| slava@ubuntu:~/apps/thanh-real-estate$ git ls-files --deleted | |
| slava@ubuntu:~/apps/thanh-real-estate$ git rm $(git ls-files --deleted) | |
| slava@ubuntu:~/apps/thanh-real-estate$ git add -u | |
| slava@ubuntu:~/apps/thanh-real-estate$ git commit -m "removed files" | |
| # On branch master | |
| nothing to commit, working directory clean | |
| slava@ubuntu:~/apps/thanh-real-estate$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment