 Hey guys, John Hammond here looking at Bandit level 31 from over the wire some of the new levels I just released so I have already get clone the repository noted in the Online page here got it in a temporary directory that we're working out of so let's check out the repository see what they have here We have this read me file which we can see and says this time your task is to push a file to the remote repository With key.tex as a file name the condense may I come in on the branch master? So the current branch that we are on yep As we can see yeah, okay cool. So let's create a file. Let's call this key.text with that contents It's fine. It doesn't need a backup file. So we can save that create it cool. It exists So now I just would just normally get add the directory. I would get commit Except it tells me on branch master. We're up to date nothing to commit working directories clean So I thought that was weird So what I did was I tried to get add key.text like that file explicitly and then I said Oh, the following paths are ignored by one of your dot get ignore files key.text So that kind of trip me up for a second But that is just a point here for your learning There is such thing as a get ignore file and those files will not be noted in Any commits or pushes that you try to make to your repository looks like they're trying to ignore anything That's a dot text file. So the note is you can use tash I'm sorry. I was gonna say tack and dash at the same time. And in fact, I did I said tash So you can get add key.text tack f to force it and then it does it just fine So now we can get commit ignore that warning error and we can just say add at the file or whatever Message that we want here. So now we can get push bring it to the repository Say yes, it will need the password so we can go ahead and supply that we've got it saved Throw it in our clipboard paste it in and you can see here. It gives back some interesting notes. Well done Here's the password for the next level and this guy will get us to bandit 30. So let's keep track of that bandit 32 Again, I've got this saved because I've been doing it earlier, but that's it That was the solution that we all really needed for this level bandit 31 Not crazy hard, right? But just to teach you and show you how to go ahead and upload files to the get repository Add the files commit them in push, but without noticing that get ignore file Nothing particularly happened. So maybe if you just didn't realize it that may trip you up. So cool things Hey, if you didn't see it before I have set up a discord server and That community has been really really awesome to talk some more about some of these challenges Play them live with other people for the first time we're going through them Same thing for any capture flag game that may be on we can just collaborate talk and be in that community of Programmers CTF hackers and just really cool people. So please link in the description come hang out and jam with us Another note. I want to include is a shout out to my supporters on patreon. You guys are phenomenal and And thank you so much everything that you do $1 a month on patreon will give you a shout out just like this at the end of every video $5 a month on patreon will give you early access to all my videos on YouTube before I release them Normally I record videos in bulk and then YouTube will gradually release them one by one So if you want the content right away just $5 a month and that's the easy way to get it I'll hope to bring out more incentives as we move along I think the discord server is awesome now because I've got some real community like Always engaging instant message conversation as to what people want to see and what we can bring to the table So that's that's really cool. Hey, if you did like this video, please you press that like button Maybe leave me a comment if you're willing to subscribe and check me out on discord patreon in my website www.johnhamman.org See you soon