Tristan Schuler
Tristan Schuler

Reputation: 41

Add github reminder message after committing files/before pushing

Is there a way I can customize/activate a reminder message to print to the terminal every time I commit files to git or before I push them. I want a reminder message that says:

"make clean before pushing!"

I am working on a project with multiple users and we use make on different operating systems; if we don't make clean first, it's very easy to get out of sync with each other.

Upvotes: 0

Views: 359

Answers (1)

Rahmat Hidayat
Rahmat Hidayat

Reputation: 87

Maybe the only way is, just check the condition of files. By typing :

$ git status

I wish it can help you...

Upvotes: 1

Related Questions