Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Git can do weird things with identical files. I had four files with the exact same content in a code directory:
- 20200519.sql
- 20200521.sql
- 20200526.sql
- 20200528.sql
- I ran the following commands in order:
- git rm 20200519.sql
- git mv 20200521.sql 20200521_updates.sql
- git mv 20200526.sql 20200526_updates.sql
- git mv 20200528.sql 20200528_updates.sql
- Git says that it actually did the following:
- Rename 20200519.sql -> 20200521_updates.sql
- Rename 20200521.sql -> 20200526_updates.sql
- Rename 20200526.sql -> 20200528_updates.sql
- Delete 20200528.sql
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement