RUVIDEO
Поделитесь видео 🙏

Basic git tutorial for beginners(Part One)

Subscribe: http://arafat.info/youtube
About me: http://arafat.info
#StayHome and Learn #WithMe.

#Covid_19 / #Coronavirus / #Covid19

========== Git Commands ==========
-- To initialize a good project.
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/username/your-git-repo.git
git push -u origin master

git status
gitk
git-diff
-- add files
git add .
-- git commit
git commit -m "Supervisor"
-- git remote server with ssl
git -c http.sslVerify=false pull
git -c http.sslVerify=false push

Subscribe to this channel.
https://www.youtube.com/c/Solutions4allInfo?sub_confirmation=1

#Git-Reset: Unstaged the file to current commit
git reset HEAD~
or
git reset --hard

Remove the last commit, you can simply run git reset --hard HEAD^ If you are removing multiple commits from the top, you can run git reset --hard HEAD~2 to remove the last two commits. You can increase the number.

If you want to "uncommit" the commits, but keep the changes around for reworking, remove the "--hard": git reset HEAD^

#Git-checkout: Discarding local changes (permanently) to a file
git checkout -- filename
# clear all local change
git checkout .

--Allow apache user to exec a git pull command
sudo -Hu apache git pull -f

#gitBranchSwitch
git checkout develop

#gitNewbranchCreate (-b)
git checkout -b develop

First/New branch push to remote server
git push --set-upstream origin develop

At first, we need to come to our desire branch where we want to merge. Example checkout to master branch then merge the develop branch to master.

git merge develop

- Error: LF will be replaced by CRLF in git
git config core.autocrlf true

#GitConflictAndMerge.
-- If you want to keep your changes.
git checkout --ours filename.c

-- If you want to get other changes.
git checkout --theirs filename.c
git add filename.c
git commit -m "using theirs"

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Basic git tutorial for beginners(Part One)», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.

Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!

Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.