Posts

Showing posts from February 2, 2019

Forward if the email is already in the list

Image
-3 how can i query if the email adress is already in the list and if the email is in the list you should be redirected to an error page <div class="contact1"> <div class="container-contact1"> <div class="contact1-pic js-tilt" data-tilt> <img src="images/img-01.png" alt="IMG"> </div> <form action="https://runi.us7.list-manage.com/subscribe/LIST" method="post" class="contact1-form validate-form"> <img src="images/logo.png" alt="IMG" class="bild " width="300" height="10"> <div class="wrap-input1 validate-input" da

Compare files between production-files and repository

Image
0 I've gotten a bunch of productions-files sent over (a big-ass zip-file). I don't know, if there have been any modification in those files or not. I have version-control on those files, using Bitbucket. I'm looking for a way to tell git something along these lines: Yo Git! You know all those files in this directory here ( /foo )? Can I get you to, initially disregard all the files that you have in your .gitignore -file... And after that, compare /foo with origin/master , and create a merge-conflict if there are any differences. I did this, and it worked. But it that really the correct approach? ... Are there a better/faster/cleaner way of doing it? Unpack zip-file. Enter it, and do git init . Make a new branch: git checkout -b myNewBranch . Add a .gitignore-file manually (from the o