Git and Version Control in UiPath (Tutorial from Start to Finish)

Anders Jensen
7 Sept 202122:29

Summary

TLDRIn this educational video, Anna Jensen introduces viewers to version control using Git and UiPath. She explains the basics of backing up and collaborating on projects, demonstrates how to set up a Git repository, and guides through the process of committing, pushing, and pulling changes. Conflict resolution and branching strategies are also discussed, making it an informative resource for those interested in RPA development.

Takeaways

  • 📚 Version control with Git and UiPath helps with backup and collaboration, essential for RPA interviews and tests.
  • 🌐 Git online repository managers, like GitLab or GitHub, function as cloud storage for software development.
  • 🔼 'Push' is the term for uploading projects to the Git repository, while 'Pull' is for downloading them.
  • 💻 Setting up Git in UiPath is straightforward and integrated within UiPath Studio.
  • 🧑‍🤝‍🧑 Collaborating with team members is easier with Git, ensuring everyone works with the latest project version.
  • 🔄 Always work with the latest version from the Git repository to avoid conflicts and outdated instances.
  • 📝 Descriptive commit messages are crucial for tracking changes and managing versions efficiently.
  • 🌳 Creating branches allows parallel development without conflicts, which can later be merged into the main branch.
  • ⚠️ Handling conflicts requires choosing the correct version to keep during a merge.
  • 📢 Follow the instructor on Instagram for course updates, tips, and behind-the-scenes material.

Q & A

  • What is the main purpose of using version control in UIPath projects?

    -The main purpose of using version control in UIPath projects is to enable backup and collaboration. It allows developers to save different versions of a project, roll back to previous versions if needed, and work on the project collaboratively with other developers.

  • What is the term used for the online platform where the UIPath projects are backed up and shared?

    -The online platform where UIPath projects are backed up and shared is called a 'git repository manager', which functions similarly to a Dropbox or OneDrive but is specifically for software development.

  • What does the term 'push' mean in the context of Git?

    -'Push' in Git refers to the action of uploading your project changes to the remote repository, making them available to other developers or for backup purposes.

  • What does 'pull' mean when working with Git?

    -'Pull' in Git is the action of downloading or updating the project from the remote repository to your local machine, allowing you to work with the most recent version of the project.

  • How can conflicts be handled when working with Git?

    -Conflicts in Git can be handled by using 'pull rebase' to update the local project with changes from the main branch. Developers can then choose which changes to keep or merge, resolving any conflicts between different versions of the project.

  • What is the recommendation for developers when starting to modify a UIPath project?

    -The recommendation for developers is to always start by taking the project from the Git repository manager rather than working with an older local instance, ensuring that they are working with the most recent and backed-up version of the project.

  • What is the significance of writing descriptive commit messages in Git?

    -Writing descriptive commit messages in Git is important because it helps other developers or future you to understand what changes were made during each commit, making it easier to track the project's history and development progress.

  • How can multiple developers work on the same UIPath project without interfering with each other's work?

    -Multiple developers can work on the same UIPath project without interference by creating separate branches for their individual work. Once their work is complete and they are ready to integrate changes, they can merge their branches back into the main branch.

  • What is the process for creating a new branch in a UIPath project using Git?

    -To create a new branch in a UIPath project, a developer can go to the 'Manage Branches' section in Git, select the main branch, click the plus sign to create a new branch, and then name the branch appropriately. After that, they can start working on their own branch without affecting the main branch.

  • How can a developer merge their work from a branch back into the main branch in Git?

    -To merge work from a branch back into the main branch, a developer should first ensure all changes are saved and committed. Then, they can go to the 'Manage Branches' section, select the main branch, find their branch, right-click it, and choose 'Merge'. After resolving any conflicts that may arise, they can push the changes to update the main branch.

  • What is the importance of branches in Git for collaborative project development?

    -Branches in Git are important for collaborative project development as they allow multiple developers to work on different features or fixes simultaneously without causing conflicts in the main codebase. This enables parallel development and efficient merging of changes once the work is completed.

Outlines

00:00

📚 Introduction to Version Control with Git in UiPath

Anna Jensen introduces the concept of version control in the context of UiPath development. She emphasizes the importance of backing up projects and collaborating with other developers using version control systems like Git. The video aims to demystify Git, explaining it as a tool for backup and collaboration, and mentions that it is a common topic in RPA interviews. Key terms like 'git online repository manager', 'push', and 'pull' are introduced, and the video promises to guide viewers through setting up Git with UiPath and handling conflicts.

05:01

🛠 Setting Up Git with UiPath Studio

This section provides a step-by-step guide on setting up a Git repository using GitLab, which serves as the online storage for project files. The process includes creating a new project in GitLab, naming it, choosing privacy settings, and deciding whether to include a README file. The video demonstrates how to clone the repository URL and create a new project in UiPath Studio, illustrating the initial commit process and the importance of pushing changes to the remote repository for backup and collaboration.

10:01

🔄 Committing and Pushing Changes in Git

Anna explains the process of committing changes locally and then pushing them to the Git repository to make them available remotely. She details the steps to commit changes in UiPath Studio, including writing descriptive commit messages for clarity in version tracking. The video also covers the use of the 'push' function to upload committed changes to the remote repository and the importance of starting with the most recent version of the project from the repository to avoid conflicts.

15:02

🤝 Collaborative Development with Git

The script discusses collaborative development using Git, where multiple developers can work on the same project without being physically present. It shows how to clone a remote repository to start working on a project and the importance of committing and pushing changes regularly. The video also touches on the potential for conflicts when different developers modify the same part of a project and introduces the concept of 'pull rebase' to update local projects with changes from the main branch.

20:05

🔍 Resolving Conflicts and Branching in Git

This part of the script delves into conflict resolution when two developers make different changes to the same part of a project. It demonstrates how to use 'pull rebase' to bring the latest changes from the main branch into a local branch, compare versions, and decide which changes to keep. The video introduces branching as a way to work on different features simultaneously without affecting the main workflow, and it shows how to merge these branches back into the main project after development is complete.

🔄 Merging Changes and Final Thoughts on Version Control

The final paragraph covers the process of merging changes from a feature branch back into the main branch. It illustrates the potential for conflicts during the merge and how to resolve them by choosing which changes to keep. The video concludes with a reminder of the importance of using version control for project management and collaboration, and it invites viewers to follow Anna on Instagram for updates on her courses and additional tips.

Mindmap

Keywords

💡UIPath

UIPath is an RPA (Robotic Process Automation) software platform that allows the creation of software robots to automate repetitive tasks. In the video, UIPath is the central tool discussed for automating processes, and the script explains how to integrate it with version control systems for better project management and collaboration.

💡Version Control

Version control is a system that records changes to a file or set of files over time so that developers can recall specific versions later. The video emphasizes the importance of version control in RPA projects, using Git as an example, to ensure backup, collaboration, and the ability to revert to previous versions when necessary.

💡Git

Git is a widely used distributed version control system designed to handle everything from small to very large projects with speed and efficiency. The script introduces Git as a key component for managing UIPath projects, allowing for backup and collaboration among developers.

💡Repository Manager

A repository manager is a system that stores and manages access to versions of digital assets or code in a repository. In the context of the video, the repository manager, such as GitLab or GitHub, is where the UIPath projects are backed up and from where developers can pull and push changes.

💡Push

In version control, 'push' refers to the action of uploading local changes to a remote repository. The script explains that when changes are made in a UIPath project, they are 'pushed' to the Git repository to update the remote version of the project.

💡Pull

'Pull' is the action of downloading the latest changes from a remote repository to a local copy. The video script mentions 'pull' in the context of updating a local UIPath project with the most recent changes from the Git repository.

💡Conflicts

Conflicts in version control occur when changes made by different developers affect the same part of a file. The script discusses how to handle conflicts when they arise, such as when two developers alter the same activity in a UIPath project.

💡Branch

A branch in version control is a separate line of development that diverges from the main branch. The video script explains how to create and work with branches in Git to allow developers to work on different features or fixes without affecting the main project until they are ready to merge.

💡Merge

Merging is the process of integrating changes from one branch into another. The script describes how to merge a developer's branch back into the main branch after completing work, which involves resolving any conflicts and then updating the main branch with the new changes.

💡Commit

A commit in version control is a snapshot of the changes made to the code. The video script uses the term 'commit' to describe the process of saving changes locally in the Git system, which can then be pushed to the remote repository.

💡RPA Interview

An RPA interview refers to a job interview for a position related to Robotic Process Automation. The script mentions that knowledge of version control, Git, and UIPath is often required in such interviews, indicating the importance of these concepts in the field of RPA.

Highlights

Introduction to version control in UIPath projects for backup and collaboration.

Explanation of key terms in Git such as 'online repository manager', 'push', and 'pull'.

Demonstration of setting up a Git repository using GitLab.

Creating a new UIPath project and preparing it for Git integration.

Initiating a Git repository in UIPath Studio and committing changes.

The process of pushing changes to a Git repository in GitLab.

Importance of always updating from the Git repository manager instead of working locally.

Making changes to a project and committing them with descriptive messages.

How to handle conflicts when multiple developers work on the same project.

Using 'pull rebase' to update a project with changes from the main branch.

Creating and working with branches in Git to avoid conflicts.

Merging branches back into the main branch after completing work.

The significance of writing descriptive commit messages for better version control.

Recommendation to always pull the latest version from the Git repository before starting work.

Instructions on how to clone a remote repository in UIPath Studio.

The concept of branches allowing developers to work in parallel without affecting the main workflow.

Final thoughts on the importance of version control in collaborative RPA development.

Transcripts

play00:00

my name is anna jensen let's learn some

play00:03

uipath

play00:05

today we will talk about version control

play00:07

git and uipath it sounds very advanced

play00:11

and it's something that is often asked

play00:13

about in rpa interview and tests

play00:17

but really all there is to it is backup

play00:20

and collaboration

play00:21

we can backup our uipath project and our

play00:25

fellow developers can take down these

play00:28

projects and work with them it could

play00:30

also be yourself so you know that you

play00:33

always have your project backed up and

play00:35

you can have different versions so you

play00:37

can roll one version back two versions

play00:39

back or whatever you want

play00:41

really really smart

play00:43

some key words in git is that we have

play00:47

our git online repository manager that

play00:49

was the one where we backed up our

play00:52

project to and we taken down that's like

play00:54

a dropbox or onedrive for software

play00:57

development

play00:58

then when we upload our project we call

play01:01

it push

play01:02

when we take down these project i could

play01:04

be our fellow developers or ourselves we

play01:08

pull down these things

play01:11

that's it in this video we will talk

play01:13

about how to set it up it's really easy

play01:15

it's integrated in uipath we will also

play01:18

talk about how to work in parallel and

play01:21

handle conflicts and make sure you

play01:23

follow my instagram because i'll post

play01:26

all my courses there you'll get notified

play01:29

when i make a new course which of course

play01:31

they are free and you will get behind

play01:34

the scenes material and tips and tricks

play01:37

so find me on instagram now let's learn

play01:39

about git first of all we need a git

play01:42

repository manager that's where our

play01:45

files will be stored so when we work on

play01:48

the files locally and upload them it

play01:51

will be stored here so across different

play01:53

teams it will they will use this

play01:55

platform

play01:56

i will use gitlab for this project but

play01:59

you can use github or any other git

play02:02

online repository manager it will look

play02:04

the same and the intuition will also be

play02:07

the same so if you sign up with gitlab

play02:10

choose new project click here

play02:14

we choose create blank project so this

play02:17

will just create a bland blank project

play02:20

repository we give it a name i will call

play02:23

it open website unders

play02:26

you can place it in a different folder

play02:30

or

play02:31

a online place here at this site we will

play02:33

just call it the same that will almost

play02:35

always be the

play02:37

go-to solution we could give it a

play02:39

description that is optional we won't we

play02:41

can choose between private or public

play02:44

i will just choose private do we want it

play02:47

read me probably not oils we will add it

play02:50

later on so i'll just create a project

play02:54

it will look like this we will have some

play02:58

initial things that we can

play03:01

do

play03:02

this address here we will use that you

play03:04

can find it here that is the address of

play03:06

this repository you can find it down

play03:09

here or you can click clone

play03:12

clone with https and copy it from here

play03:16

so let's create a project in studio

play03:19

uipath studio and push it to this git

play03:23

repository so i open up uipath it will

play03:26

look like this we will just create a

play03:28

blank project so click here

play03:31

give it a descripting name i'll just say

play03:33

open

play03:34

website unders

play03:36

and then we'll click create

play03:39

we will open the main workflow

play03:43

this is really not important what we put

play03:46

in here because we will just see how we

play03:48

back up and how we do changes but let's

play03:50

go to activities and find an open

play03:53

browser

play03:55

here and drag it in

play03:59

here we can open a url so in quotation

play04:02

marks we can type anasyansen.org

play04:05

this will open up my web page

play04:08

so we save it

play04:09

now we want to have this project backed

play04:12

up in our git repository that's over

play04:15

here

play04:16

remember this

play04:17

so what we do here is that we click home

play04:20

we click team

play04:23

we choose git init this will create a

play04:26

git hierarchy in our project folder the

play04:29

uipath folder so click here

play04:32

we will choose the folder in the uipath

play04:34

of this current project uipath will

play04:36

automatically

play04:38

suggest this so just click select folder

play04:42

like this here we can see where we have

play04:44

made some changes this is the initial

play04:48

we did we changed the main so we go down

play04:51

here and we give it a message we can say

play04:54

initial

play04:55

commit

play04:57

and then we can see that we have some

play04:59

options we can of course click cancel

play05:01

that will just cancel this

play05:03

but we want to commit it and push it

play05:06

commit that is just when we save it

play05:09

locally

play05:11

and when we push that means upload to

play05:13

the git repository here in gitlab so if

play05:17

i just

play05:18

choose commit it will save it locally

play05:21

but we want it up here so we click

play05:22

commit and push

play05:24

like here let me drag this down we want

play05:27

to give it a name this is not important

play05:29

but we will use it in here in manage

play05:31

remote so it can just be open where

play05:34

unders then we want the url and as i

play05:37

showed you you can find it down here and

play05:39

if this is not visible just click the

play05:42

drop down clone clone with

play05:44

https

play05:46

copy it from here

play05:47

go back to studio and manage remote

play05:50

here we paste in the url like here we

play05:53

click add

play05:55

now we click save

play05:58

and we have to use the credentials these

play06:01

are not

play06:02

project level credentials that is the

play06:04

credentials of your git instance here

play06:07

it's my gitlab so i'll put in my user

play06:13

and then i'll put in my password

play06:19

like this so now we have pushed it that

play06:21

is uploaded it to the git repository if

play06:24

we go back to our git repository manager

play06:27

gitlab then we'll click refresh we can

play06:30

see that our project will be down here

play06:33

isn't it nice so now another team member

play06:36

can take this project and work on it or

play06:39

with the future you can work with it

play06:42

my recommendation and this is very

play06:44

important is that you will always when

play06:46

you start to modify a project always

play06:50

take it from this git repository manager

play06:53

never work with it locally of course if

play06:55

you just worked with it for 10 minutes

play06:57

ago do it here but if you if it was like

play07:00

one week or two weeks since you last

play07:02

modified

play07:03

take this from the git repository

play07:05

manager because then you'll know that

play07:07

this is always the last backed up

play07:10

project

play07:11

so then we won't work with an older

play07:14

instance that would be in our local one

play07:18

so here we have this

play07:20

sequence

play07:22

now we want to make a little change to

play07:25

the sequence so we find a message box

play07:31

scroll a little bit down and drag it in

play07:33

like this

play07:35

so we will just say

play07:38

hello viewer

play07:41

you are awesome

play07:43

like this and we'll save it

play07:46

remember that now remember notice that

play07:49

down here the status part is say zero

play07:51

zero but when we click save something

play07:53

will happen now that we can see that we

play07:55

have one change and this is this change

play07:59

so if we click down here

play08:02

we can see that we can commit right from

play08:05

here another place to commit is that if

play08:08

i click cancel here if i go to project i

play08:11

can right click here and click commit

play08:13

usually i will use the status bar down

play08:16

here

play08:17

so let's just click here and we can say

play08:20

that this one is

play08:22

message box

play08:24

added then we will click commit and push

play08:30

and you will see that this one down here

play08:32

will change to a zero in a bit

play08:36

right there right here but say that we

play08:38

only have saved it locally that is if we

play08:41

only have committed it let me add a

play08:43

space after awesome nothing really

play08:46

special we click save

play08:48

now we have this change here so i click

play08:50

it

play08:51

then we can say space added to message

play08:55

box another good tip is to always

play09:00

write descripting commit messages

play09:02

because then when we do version control

play09:04

say that we have like 10 different

play09:07

versions that we have committed to our

play09:09

git repository it will be easy to see

play09:12

what has changed for other developers or

play09:15

the future you

play09:16

but now we only save it locally so we

play09:19

click commit

play09:20

and what happens here is that this one

play09:22

gets zero because we have no changes we

play09:24

haven't commit but we can see that we

play09:26

haven't pushed anything so we are one

play09:28

ahead it's called that is we have worked

play09:32

one change ahead of the

play09:35

remote repository version which is the

play09:38

one over here so to fix this if we want

play09:40

to make sure that this one is pushed we

play09:43

just can click here

play09:44

pushing changes and we are all even

play09:49

and in case you wonder what these two

play09:51

things are here this is just our

play09:54

repository name and the slug in the open

play09:57

website on this and here we can see what

play09:59

brands we work on

play10:01

we will get back to that in a few

play10:04

seconds

play10:05

because now and now things get really

play10:08

smart

play10:09

say that another developer in the

play10:12

company wants to change this project

play10:16

and usually two developers don't use the

play10:19

same computer they might sit in

play10:21

different countries so we open up

play10:23

another uipath instance simply just

play10:25

click the ui pass studio

play10:28

and i put it up here in the corner that

play10:30

was our initial uipath while the other

play10:33

one's open while it's open i can

play10:36

maybe ask you to help me if this video

play10:39

helps you then please give it a thumbs

play10:41

up that will really help my channel and

play10:43

the reach of my videos thank you

play10:46

so now i can move it down here

play10:50

and instead of just creating a new

play10:52

project we can clone the remote

play10:55

repository which is this one so let me

play10:58

go back to the new one so when we open

play11:00

up your path studio click clone or check

play11:03

out here

play11:05

we can clone repository so we click here

play11:08

and again we need a url and in case we

play11:11

have forgotten it we can find it

play11:14

here clone clone with

play11:17

https

play11:18

that was difficult to say so i put it in

play11:21

here we can choose a check out directory

play11:24

but this one will probably be taken from

play11:27

the previous project here so let's just

play11:29

call it depth b

play11:31

again we use the local directories like

play11:34

this c colon like here to develop in but

play11:38

when we finish develop for that day or

play11:40

whatever we push it to

play11:43

the remote repository and the next time

play11:46

we will work on it we just take it from

play11:48

the git remote repository instead of the

play11:50

local ones in that way we make sure that

play11:53

we always have the updated version i

play11:56

know i repeat myself but this is

play11:57

important

play11:59

then we click

play12:01

then we click use credentials

play12:03

we will type in our credentials

play12:09

and click open

play12:11

so now

play12:13

developer b he

play12:15

will open the project and can work on it

play12:18

so that's quite clever we can easily say

play12:20

share uipath project between developers

play12:25

and let me open up the main here

play12:28

and you can see that we or at least in a

play12:30

second we will just have the project

play12:32

that we just created

play12:34

so let me widen it a bit so we can see

play12:36

it

play12:37

so here it is now let's say that we will

play12:41

change it a bit more

play12:43

you can just uh that b wants to add to

play12:46

this project so he go into the message

play12:48

box and say you are very awesome let me

play12:50

have space like this

play12:53

then we just click save

play12:55

and to commit and push it to the remote

play12:57

repository we click the commit change

play13:00

here

play13:01

then we can say

play13:03

defeat

play13:04

added very to message box

play13:08

again choose a very describing message

play13:10

click commit and push

play13:13

so now that we have worked on the

play13:16

project and say that dev a that's this

play13:20

guy up here he wants to have their these

play13:23

updates you can see here we just have

play13:26

you are awesome that was the old one and

play13:28

here we have you are very awesome to do

play13:30

this we can click down this main here

play13:34

and we can click pull rebase pull rebase

play13:37

will

play13:38

take whatever is in the main and make

play13:42

sure that we get it here so we click

play13:44

here pull rebase

play13:48

boom

play13:48

now we have updated our project so these

play13:51

two guys can work with each other but

play13:54

say that

play13:55

we both work on the same activity we

play13:58

both want to update the message box both

play14:00

death a up here and death b down here so

play14:04

look what's happened so say that

play14:06

death a up here hello a handsome viewer

play14:10

like this

play14:12

and

play14:13

death b he might want to delete the

play14:16

space so delete the space

play14:18

now we have two different

play14:21

activities in the same so look what's

play14:24

happening so we save it up here we save

play14:27

it down here we in order to commit

play14:29

something we always need to save it

play14:32

that's why that's when they will show up

play14:34

here as changes

play14:36

so let's say that we first

play14:39

push this one down here from def b

play14:41

nothing will really happen because

play14:43

there's no conflict yet

play14:45

so here we

play14:47

deleted a space in

play14:50

message box

play14:51

so i commit and push

play14:53

then if we go up here to death a

play14:57

you see now we have conflict and

play14:59

let me show you what's happening so here

play15:02

we

play15:03

added handsome

play15:06

we commit and push

play15:09

and now we have a conflict so we want to

play15:12

pull we want to have whatsoever in the

play15:16

main branch so we click pull rebase

play15:19

and now we will have a look at what's

play15:22

going on

play15:23

here we can see the two different

play15:25

versions

play15:27

we have this the left one that is the

play15:30

remote you can see it up here that is

play15:32

the one from dev b he pushed that's this

play15:35

one

play15:36

and this one is the local that's the one

play15:38

we're working at that's this this one up

play15:40

here we can see that this one is yellow

play15:42

that is the message box if we highlight

play15:45

this we can see what's happening in the

play15:47

properties over here we have the

play15:49

properties that is just the text hello

play15:51

viewer you are handsome that was this

play15:53

guy and here we have hello handsome

play15:55

viewer you are very awesome that is this

play15:58

one here

play15:59

now we have to choose which one of these

play16:02

two versions we want to keep

play16:05

and i mean right here it doesn't maybe

play16:08

it's not that important because this

play16:09

just works but it could imagine it could

play16:11

be a bigger project so be careful what

play16:14

you do here if you do it like this so we

play16:15

can either choose the left that will be

play16:17

the remote to keep or we can choose the

play16:19

right that will be the local that will

play16:22

now be the main uh rip in the remote

play16:25

repository sorry

play16:27

so i choose to write

play16:29

that is this hello handsome viewer you

play16:31

are very awesome so i click save

play16:34

now we push the changes so now the main

play16:37

will get changed again because we chose

play16:39

this one as the

play16:41

version we want to keep so if we go down

play16:45

here again we can now pull rebase again

play16:49

and you will see that this hello

play16:51

handsome viewer will be added here

play16:55

a cool thing to do if we want to work in

play16:59

parallel which we often want is to

play17:02

create a branch a branch is simply just

play17:04

what it says a branch of the main

play17:06

workflow we can work there without

play17:09

having any conflicts with the other

play17:11

developers and then we when we are ready

play17:14

to push it to the main to merge it

play17:18

actually then we will just do so

play17:21

let me show you how it work say that def

play17:25

b you can see he's working on the main

play17:27

but let's create a branch he can work on

play17:30

so we click the drop down here we click

play17:33

manage branches here we can see our

play17:35

brands here we have the main branch so

play17:37

if we mark this

play17:39

then i click the plus sign here and i

play17:42

could call this def b's work like this

play17:46

and then we click create branch from

play17:48

main and we can see that it has now been

play17:51

created

play17:52

so then i click save

play17:55

of course the branch is now

play17:58

looking exactly like the branch

play18:01

the main branch but if we want to work

play18:04

with it click the drop down here and you

play18:06

can see that it now appear up here that

play18:09

these work

play18:10

like this

play18:11

so let's change a bit we can just

play18:15

change all the things that we wrote here

play18:18

we do this

play18:20

then we click save so now we have

play18:24

changed this message box we can see the

play18:26

commit changes down here and let's maybe

play18:29

add a right line

play18:31

so let's search for a right line or find

play18:34

it here in favorites just choose search

play18:36

if you do not have any editing favorites

play18:39

here and i'll just add in the right line

play18:41

here

play18:42

so what i can do here is that i can in

play18:44

quotation marks tell

play18:46

people here

play18:48

please

play18:50

like the video

play18:52

if it helps you and again i know i said

play18:55

it twice in this video this will really

play18:57

help me a lot if you simply just click

play19:00

like on the video it will help the

play19:02

channel

play19:03

so now we have these things here i click

play19:06

save again

play19:07

and i could of course push it to the

play19:10

deathbeats work the branch so if we do

play19:14

that we can commit message we can say

play19:16

add right

play19:18

line and i know we did some other things

play19:20

but we'll just click commit and push

play19:23

so now this work

play19:25

has been pushed into the branches here

play19:28

we can even go to our

play19:31

repository

play19:32

and if we click repository we can click

play19:35

branches we can now see that we have our

play19:38

depth b

play19:40

branch of this one here so we have the

play19:42

main branch that is the default and then

play19:45

we have depth b's work so let me go back

play19:48

to our project

play19:50

like here then we go to uipath studio so

play19:54

this was staff a let me open fb it's

play19:56

here now say that we want to merge we

play19:59

have worked a whole day or maybe two

play20:00

days

play20:01

we want to merge this one

play20:05

into our main and let's say that dev a

play20:08

also worked a bit on this so he probably

play20:11

just deleted everything so quotation

play20:13

marks and he just say hey like this so

play20:16

they both change it we will just push

play20:19

this one as well

play20:21

a lot of push

play20:22

hey add it commit and push

play20:25

so if we go back to def b now we want to

play20:29

merge this into the main how do we do

play20:32

that well make sure you have save it and

play20:36

committed and pushed all changes like

play20:38

here so we click the drop down then we

play20:41

go to main

play20:43

that was the old

play20:44

one before we changed anything and now

play20:47

you

play20:48

can click manage branches

play20:51

here

play20:52

you can see the current branch should be

play20:53

main so make sure it's the main and not

play20:56

death beast work or whatever you call

play20:57

yours

play20:58

then go down to death b's work right

play21:01

click click merge

play21:03

like this and then we can just push it

play21:06

so we click here

play21:08

we push it and we can see that the

play21:09

current branch is out of date we

play21:11

expected that because we have updated it

play21:14

up here so i click pull rebase

play21:18

and now we can see the conflicts and

play21:21

here we can it is really smart because

play21:23

now we can choose which one we want to

play21:26

keep

play21:26

so do i want the one with right line

play21:30

or do i want the one where the message

play21:32

box say hey well i want the one with the

play21:36

hello handsome viewer and right line so

play21:38

i click save here

play21:42

like this

play21:43

so now our

play21:45

deathbeats work have now been merged

play21:49

into the main so if this guy up here the

play21:52

dev a

play21:53

he will pull rebase

play21:55

you will see that he will have this

play21:57

hello handsome viewer and he will have

play22:00

the right line

play22:03

i'm working on a full uipath version

play22:06

control course to make sure you will get

play22:09

notified when it's here simply just

play22:11

follow my instagram where i will post

play22:14

all news about my courses and i'll post

play22:17

tips and tricks

play22:28

you

Rate This

5.0 / 5 (0 votes)

الوسوم ذات الصلة
Git TutorialUIPathVersion ControlRPA InterviewBackup SolutionsCollaboration ToolsSoftware DevelopmentGitLabGitHubProject ManagementWorkflow Automation
هل تحتاج إلى تلخيص باللغة الإنجليزية؟