CS5010: Cloning a Repository with HTTPS, Gitlab, & VSCode

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
foreign hey everybody Dr Green here in this video I am going to show you how to effectively clone https repositories from gitlab using a personal authorization token and also how to set up the gitlab workflow extension so the first thing we want to do is we want to go over here and do extensions as we've done in previous videos go type in gitlab with make sure gitlab workflow is installed you'll still see I already have this installed so we're in good shape a second thing you want to do is pop over to gitlab so you'll see I'm in my repository here and what we want to do and what a lot of you want to do is you want to clone via https because it's a little easier than setting up SSH keys and that is all good the way we do that is the first thing we do is find our profile so find your picture wherever it is on the screen click on that and go to preferences then we're going to go to access tokens these are personal access tokens you can think of these as a substitute password so I'm going to create a cs5010 token today I've created multiple of these before so I have to keep renaming them I would just call it a cs5010 token if I were you go ahead and change the date to the end of this class make sure you grant it read and write repository access and say create personal access token it will create this nice token up here you'll see we have a token created and we can go ahead and copy that you want to keep that in a safe place don't lose it or else it may cause you some problems treat it just like a password I keep all these in my password Keepers you'll see at the top of my browser I use bit Warden at the moment but make sure you save it all those good things so that you're able to use it now we can go back to our repository we can go to clone and we can say clone via https we can go ahead and we can do this in vs code go into desktop that's great say new folder test create I'm going to do this here select as repository destination uh yes I'd like to open this now you'll notice mine just popped up and worked very easily the reason it did this is because I've already added a personal access token in here normally it will pop up a little screen at the top little uh it will pop up a little box at the top of the screen here and say please enter your username your username would be your gitlab username and then it would ask your password instead of putting in your password make sure you put in your personal access token
Info
Channel: Robert Green
Views: 13,129
Rating: undefined out of 5
Keywords: CS5010, BGSU, VSCode, Gitlab, Personal Access Token, Cloning
Id: ueN6VrFUxZw
Channel Id: undefined
Length: 2min 51sec (171 seconds)
Published: Thu Jun 08 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.