aboutsummaryrefslogtreecommitdiff
path: root/doc/forum/How_to_emulate___34__one-way_sync__34__s_in_a_direct_repo__63__.mdwn
blob: 92bf09ae276ece830ce1588de00276025b4bb2af (plain)
1
2
3
4
5
6
7
8
9
I'd like to provide a team of some non-technical Windows (=direct mode) users with the following git-shell scripts to make collaboration safer than with plain "sync":

1) **update-changes-from-others.sh** -- Like sync, but don't commit any local changes. Merge them like sync, don't discard.

2) **sync-all-but-deletes.sh** -- Like sync but don't commit any deletions (-> renames may become additions).

3) **discard-all-my-changes.sh** -- Forcibly discard all local changes, then checkout and get latest master head.

Any pointers on how to approach implementing these safely?