File: How_to_overwrite_local_changes__63__.mdwn

package info (click to toggle)
git-annex 6.20170101-1%2Bdeb9u2
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 50,088 kB
  • sloc: haskell: 53,116; sh: 1,582; ansic: 341; makefile: 292; perl: 144
file content (7 lines) | stat: -rw-r--r-- 514 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
Hello,

I have a repo Desktop (client), a repo Server (transfer) and a repo Notebook (Client). Usually first thing I do in the morning is go git annex sync --content the changes to the laptop. Today I accidently modified some files on the laptop before I synced. After I syncing I know have some files foo.variant-afd1 and foo.variant-a6d3 with which I don't know what to do.

How can I discard local changes and copy all changes from the transfer repo to the laptop? Local changes should be overwritten.

Thanks!