A
A
Andrew2020-03-26 19:09:10
PHP
Andrew, 2020-03-26 19:09:10

How to push changes from a remote branch to my local branch?

Good evening. Please tell me how to merge all changes from the remote branch branch1 into your local master branch .
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
X
xmoonlight, 2019-09-06
@xmoonlight

/^.{10}$/

O
Oleg, 2019-09-07
@YAZART

10 characters or 10 digits, there is a difference in this. Any 10 characters is ^.{10}$ , and 10 non-space characters in a row is ^\S{10}$, ten digits ^\d{10}$ , but in general, if I'm not mistaken, there is a maxlength https:// attribute in input developer.mozilla.org/ru/docs/Web/HTML/Ele...

D
Dmitry, 2019-09-06
@slo_nik

Good afternoon.
if( !preg_match( "/^(\d{10})$/", $check ) ) {

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question