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

Using Git and GitBash commands to pull and push the code in remote repository

Here are steps we need to perform:

1.Create Remote Git Repository in http://www.github.com website.
2.Install git client like GitBash

1st time steps:

Open project directory in command prompt and enter the command:

1.git init
2.git remote add origin [Https url]
optional (git status)
3.git add .
optional ( git config --global user.email "[email protected]"
optional (git config --global user.name "xxx"
4.git commit - m "First commit"
(optional) git status
5.git push -u origin master
(optional) Login if it ask for id and password

Next time
(optional) git status
1.git add .
2.git commit - m "First commit"
(optional) git status
3.git push -u origin master
(optional) Login if it ask for id and password

On a new machine:
1,Create a blank folder
2.Open command prompt on that folder
3.type command git clone [Https url]
4.Import the project which has been cloned.

Some important terminology:

1.Branch
A branch is a parallel version of a repository. It is contained within the repository, but does not affect the primary or master

2.Clone
A clone is a copy of a repository that lives on your computer instead of on a website's server

3.Collaborator
A collaborator is a person with read and write access to a repository

4.Contributor
A contributor is someone who has contributed to a project by having a pull request merged but does not have collaborator access.

5.Diff
A diff is the difference in changes between two commits, or saved changes.

6.Fetch
Fetching refers to getting the latest changes from an online repository without merging them in. Once these changes are fetched you can compare them to your local branches (the code residing on your local machine).

7.fork
A fork is a copy of a repository on the server only. Forking a repository allows you to freely experiment with changes without affecting the original project. Most commonly, forks are used to either propose changes to someone else's project or to use someone else's project as a starting point for your own idea.

8.Merge
Merging takes the changes from one branch (in the same repository or from a fork), and applies them into another.

9.Pull
Pull refers to when you are fetching in changes and merging them.

10.Pull request
Pull requests are proposed changes to a repository submitted by a user and accepted or rejected by a repository's collaborators.

11.Push
Pushing refers to sending your committed changes to a remote repository, such as a repository hosted on GitHub.

12.Repository
A repository is the most basic element of GitHub. They're easiest to imagine as a project's folder.

13.SSH key
SSH keys are a way to identify yourself to an online server, using an encrypted message. It's as if your computer has its own unique password to another service. GitHub uses SSH keys to securely transfer information to your computer.

14.Difference between Pull and Rebase

git pull and git rebase are not interchangeable, but they are closely connected.

git pull fetches the latest changes of the current branch from a remote and applies those changes to your local copy of the branch. Generally this is done by merging, i.e. the local changes are merged into the remote changes. So git pull is similar to git fetch & git merge.

Rebasing is an alternative to merging. Instead of creating a new commit that combines the two branches, it moves the commits of one of the branches on top of the other.

You can pull using rebase instead of merge (git pull --rebase). The local changes you made will be rebased on top of the remote changes, instead of being merged with the remote changes.


Learn Selenium Framework for FREE! Subscribe youtube channel from the link : https://www.youtube.com/c/NareshShewakramani?sub_confirmation=1

Join the facebaook group for Automation updates https://www.facebook.com/groups/AutomationEssentials/

For any help Send email at : [email protected]

Hardware i use to record all my videos

Laptop : https://amzn.to/34HuWwF
Mouse : https://amzn.to/34FwF5M
Keyboard : https://amzn.to/3ibV7Uc
EarPhone : https://amzn.to/2SQMV0Y
Boya Mic : https://amzn.to/3wQQa7A

#Selenium #SeleniumAutomation #SeleniumTesting #SeleniumTutorial #SeleniumTraining
#SeleniumEssentials #Automation #NareshShewakramani #SeleniumBasics #SeleniumByNareshShewakramani
#Seleniumbynaresh #SeleniumInterview #SeleniumQuestion #SeleniumTopQuestions #SeleniumInterview #interviewSelenium

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Using Git and GitBash commands to pull and push the code in remote repository», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

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

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

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