XOR Media

Coding, Operations, Etc.

Git: Check to see if a Commit has been pushed

If you run in to a situation where you'd like to determine if a commit has been pushed to a remote git branch there's a quick and easy command-line way to do so.

git branch -r --contains <committish>

The above command will list all of the remote branches ...

In misc, tagged: command-line, git, and linux.