Size: a a a

2021 March 14

Лс

Лень с Самосознанием... in pro.bash
Real
какая разница сохранить изменения или перезаписать?!
Х, вроде, без сохранения выходит.
Хз, я нано вижу раз в пять лет и на чужих машинах)
источник

AG

Artemy Gevorkov in pro.bash
Real
читал. Но ничего сейчас понять не могу. Третий раз пытаюсь по человечески сделать и постоянно упираюсь в ошибки.
Где читал и что не понял?
источник

R

Real in pro.bash
Лень с Самосознанием
Х, вроде, без сохранения выходит.
Хз, я нано вижу раз в пять лет и на чужих машинах)
меня от вима дергает 10й год... =) не суть.
источник

R

Real in pro.bash
Лень с Самосознанием
Х, вроде, без сохранения выходит.
Хз, я нано вижу раз в пять лет и на чужих машинах)
user@DESKTOP-CA77D88:~/caw/mailcow-dockerized$ echo "testing" >> testfile && git add testfile && git commit && git push
[master 1f13d5c] test
1 file changed, 1 insertion(+)
create mode 100644 testfile
fatal: The current branch master has no upstream branch.
To push the current branch and set the remote as upstream, use

   git push --set-upstream origin master

user@DESKTOP-CA77D88:~/caw/mailcow-dockerized$ git push --set-upstream origin master
To gitlab.com:knush/mailcowrc.git
! [rejected]        master -> master (fetch first)
error: failed to push some refs to 'git@gitlab.com:knush/mailcowrc.git'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
user@DESKTOP-CA77D88:~/caw/mailcow-dockerized$
источник

Лс

Лень с Самосознанием... in pro.bash
Real
меня от вима дергает 10й год... =) не суть.
Шикарная штука, зря)
Ну да не об этом.
Сохранил? Вышел?
Что пишет?
источник

R

Real in pro.bash
Artemy Gevorkov
Где читал и что не понял?
мануалы по гиту. разные. видосы смотрел в йутубах. ничерта не понял. и вот.. опять.
источник

Лс

Лень с Самосознанием... in pro.bash
Real
user@DESKTOP-CA77D88:~/caw/mailcow-dockerized$ echo "testing" >> testfile && git add testfile && git commit && git push
[master 1f13d5c] test
1 file changed, 1 insertion(+)
create mode 100644 testfile
fatal: The current branch master has no upstream branch.
To push the current branch and set the remote as upstream, use

   git push --set-upstream origin master

user@DESKTOP-CA77D88:~/caw/mailcow-dockerized$ git push --set-upstream origin master
To gitlab.com:knush/mailcowrc.git
! [rejected]        master -> master (fetch first)
error: failed to push some refs to 'git@gitlab.com:knush/mailcowrc.git'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
user@DESKTOP-CA77D88:~/caw/mailcow-dockerized$
git pull
источник

VB

Vitalii Bieliavtsev in pro.bash
Лень с Самосознанием
Х, вроде, без сохранения выходит.
Хз, я нано вижу раз в пять лет и на чужих машинах)
Если были изменения, спрашивает
источник

Лс

Лень с Самосознанием... in pro.bash
Real
user@DESKTOP-CA77D88:~/caw/mailcow-dockerized$ echo "testing" >> testfile && git add testfile && git commit && git push
[master 1f13d5c] test
1 file changed, 1 insertion(+)
create mode 100644 testfile
fatal: The current branch master has no upstream branch.
To push the current branch and set the remote as upstream, use

   git push --set-upstream origin master

user@DESKTOP-CA77D88:~/caw/mailcow-dockerized$ git push --set-upstream origin master
To gitlab.com:knush/mailcowrc.git
! [rejected]        master -> master (fetch first)
error: failed to push some refs to 'git@gitlab.com:knush/mailcowrc.git'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
user@DESKTOP-CA77D88:~/caw/mailcow-dockerized$
А потом повтори тест, будет теперь два тестовых коммита
источник

R

Real in pro.bash
Лень с Самосознанием
А потом повтори тест, будет теперь два тестовых коммита
user@DESKTOP-CA77D88:~/caw/mailcow-dockerized$ git pull
warning: no common commits
remote: Enumerating objects: 3, done.
remote: Counting objects: 100% (3/3), done.
remote: Total 3 (delta 0), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (3/3), 201 bytes | 201.00 KiB/s, done.
From gitlab.com:knush/mailcowrc
* [new branch]      master     -> origin/master
There is no tracking information for the current branch.
Please specify which branch you want to merge with.
See git-pull(1) for details.

   git pull <remote> <branch>

If you wish to set tracking information for this branch you can do so with:

   git branch --set-upstream-to=<remote>/<branch> master

user@DESKTOP-CA77D88:~/caw/mailcow-dockerized$
источник

AG

Artemy Gevorkov in pro.bash
Real
мануалы по гиту. разные. видосы смотрел в йутубах. ничерта не понял. и вот.. опять.
По-английски хорошо читаешь?
источник

Лс

Лень с Самосознанием... in pro.bash
Artemy Gevorkov
По-английски хорошо читаешь?
Как видно не очень
источник

R

Real in pro.bash
Artemy Gevorkov
По-английски хорошо читаешь?
май нейм ис дима, ландан ис э кэпитал оф грит британ
источник

Лс

Лень с Самосознанием... in pro.bash
Real
user@DESKTOP-CA77D88:~/caw/mailcow-dockerized$ git pull
warning: no common commits
remote: Enumerating objects: 3, done.
remote: Counting objects: 100% (3/3), done.
remote: Total 3 (delta 0), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (3/3), 201 bytes | 201.00 KiB/s, done.
From gitlab.com:knush/mailcowrc
* [new branch]      master     -> origin/master
There is no tracking information for the current branch.
Please specify which branch you want to merge with.
See git-pull(1) for details.

   git pull <remote> <branch>

If you wish to set tracking information for this branch you can do so with:

   git branch --set-upstream-to=<remote>/<branch> master

user@DESKTOP-CA77D88:~/caw/mailcow-dockerized$
У тебя какой-то жуткий бардак с ветками, что ты наворотил???
источник

Лс

Лень с Самосознанием... in pro.bash
Я с ним не могу помочь, если что
источник

R

Real in pro.bash
Лень с Самосознанием
У тебя какой-то жуткий бардак с ветками, что ты наворотил???
1. создал на гитлабе проект. Он мне показал " што бы сделать в существующий репозиторий напишы вот-так" я как мартышка, по строчкам все сделал. ноль.
источник

AG

Artemy Gevorkov in pro.bash
Real
май нейм ис дима, ландан ис э кэпитал оф грит британ
https://githowto.com/ru
Здесь читал?
источник

R

Real in pro.bash
Лень с Самосознанием
У тебя какой-то жуткий бардак с ветками, что ты наворотил???
все сломал. (С) Ладно... Спасибо за помощь, правда, очень спасибо. Пойду спать. Завтра буду пробовать по новой.
источник

R

Real in pro.bash
Нет, это не читал. Спасибо, прочитаю обязательно. По шагам написано...
источник

R

Real in pro.bash
... два раза спасибо!
источник