Conversation
Notices
-
I have now "GNU-ified" my !java projects I have written on my #JavaEE training at the #IBB. License for Java files is #GPLv3, documentation (if any) is #FDLv1.2. They are already pushed to my server at https://git.mxchange.org but not yet exported for public reading and access rights are missing on them, too. So currently no "git clone git://git.mxchange.org/jcore.git" is possible. Please standby!
- mmn, Michael Armbrecht and Markus Kilås and 2 others like this.
- Markus Kilås repeated this.
-
Gee, my #Bash script only checks if "git diff" returns something and if not, no commit is done. :-( Does anyone know a better way to find out if something needs commit?
-
Never mind, found it out myself: CHECK_CHANGES=`git commit --dry-run | grep "Changes to be committed:"`
-
@roland Maybe looking for a certain string in "git status" works better?
-
@benediktg yes, that was here the trick. :-) Please excuse that some branches may not contain the GNU files, as they are much older (and mostly deprecated). I may later cherry-pick the commit to them to have the required files there, too.
-
Also my #Bash scripts handling and maintaining my Java projects will be published under a "public domain".