Skip to content

Commit 9f5c973

Browse files
committed
explain use case
1 parent 582742c commit 9f5c973

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Diff for: git-remote-in-sync.sh

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
#!/bin/bash
22
# checks if the specified remote(s) are in sync with what we have
33
# in other words: do we have anything which is not at the remote?
4-
# Any A commit, tag, branch, dirty WC/index or stashed state?
5-
4+
# Any commit, tag, branch, dirty WC/index or stashed state?
5+
# This is especially useful if you're wondering:
6+
# "is it safe to delete this clone? is any work here that needs to be
7+
# distributed/shared/pushed first?"
68
# Note that there are some special cases, like a branch here may
79
# have a different name on the remote. This script is not aware of
810
# stuff like that. Also, `git status` will not detect if the local

0 commit comments

Comments
 (0)