Skip to content

Instantly share code, notes, and snippets.

Created December 14, 2016 00:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/f19bdf5938bad82b825669a10338416d to your computer and use it in GitHub Desktop.
Save anonymous/f19bdf5938bad82b825669a10338416d to your computer and use it in GitHub Desktop.
Auto-changed git file
asimismo@Eve:~/workspaces/example/project1$ git status
On branch spring-1.4.2
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: project1-service/src/main/resources/db/migration/sample/V25_1__log.sql
no changes added to commit (use "git add" and/or "git commit -a")
asimismo@Eve:~/workspaces/example/project1$ git co -- project1-service/src/main/resources/db/migration/sample/V25_1__log.sql
asimismo@Eve:~/workspaces/example/project1$ git status
On branch spring-1.4.2
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: project1-service/src/main/resources/db/migration/sample/V25_1__log.sql
no changes added to commit (use "git add" and/or "git commit -a")
asimismo@Eve:~/workspaces/example/project1$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment