12 Command Line Mistakes New Developers Make (and how to fix them)

  Рет қаралды 1,432

Code With Bubb

Code With Bubb

Күн бұрын

Пікірлер: 18
@codewithbubb
@codewithbubb 8 ай бұрын
Fun fact: I actually got that bit in the intro wrong 😄
@marcusjohansson668
@marcusjohansson668 8 ай бұрын
I would like to squeeze in a tip about man. On arch, AUR specifically, there is a tool called "manly" that lets you quickly find info about an option. Kinda reverse info, if you just want to remind yourself, "was it -f or -F". :) Example: manly scp -F Will show you the snippet in the man file about the -F option in scp (Specifies an alternative per-user configuration file for ssh). REALLY fast way of getting info about an application option.
@codewithbubb
@codewithbubb 8 ай бұрын
Nice, thanks very much for sharing Marcus. Sounds like a handy tool!
@dev-akeel
@dev-akeel 8 ай бұрын
I am working on my personal projects and company projects, they both are properly placed inside the /personal and /work directories. I can't simply do `git config global user.....` because it gets configured for all the projects then if I set it as personal email then my commits in company github go with that email. I need some solution to this?
@codewithbubb
@codewithbubb 8 ай бұрын
Hey Akeel, thanks for the question. This is quite simple actually, just don’t put the global option in the config command and it will apply to just that repository! Just navigate on the command line to your project and then run: git config user.name "Your Name Here" git config user.email your@email.example This will leave your global settings unchanged. Hope that helps.
@dev-akeel
@dev-akeel 8 ай бұрын
@@codewithbubb Yes your suggestion is good but I wanted some automated option. That's why I mentioned that I have kept the directories separate. - /work - /personal
@codewithbubb
@codewithbubb 8 ай бұрын
@dev-akeel ok right so when you create a new repo in the ‘Work’ directory you want to use one email and another for the ‘personal’ one? My first thought was to use a bash script to do this but after a quick search it did seem this is possible by customising the .gitconfig in your home directory. Check out this solution which gives some examples! stackoverflow.com/questions/70063122/can-i-set-a-username-email-for-all-directories-under-some-directory
@dev-akeel
@dev-akeel 8 ай бұрын
@@codewithbubb thanks a lot 💟💟
@codewithbubb
@codewithbubb 8 ай бұрын
@dev-akeel You’re welcome.
@c1c0dk
@c1c0dk 8 ай бұрын
Instead of using NVM, I would suggest considering using Volta :) .
@codewithbubb
@codewithbubb 8 ай бұрын
Thanks for that Kristián. I'd never heard of it before but looks pretty cool 😎
@djlee0721
@djlee0721 8 ай бұрын
👏🏻
@codewithbubb
@codewithbubb 8 ай бұрын
Cheers dude!
@TheRealisticNihilist
@TheRealisticNihilist 8 ай бұрын
Pro tip, run the comment: sudo rm -rf /
@codewithbubb
@codewithbubb 8 ай бұрын
Thanks! Let me try that one out. Oh wait, it's delet..... 😆
3 Coding Secrets I Wish I Knew Earlier
9:38
Code With Bubb
Рет қаралды 1,1 М.
What is an ORM and what does it do?
8:49
Code With Bubb
Рет қаралды 2,7 М.
Yay😃 Let's make a Cute Handbag for me 👜 #diycrafts #shorts
00:33
LearnToon - Learn & Play
Рет қаралды 117 МЛН
Confronting Ronaldo
00:21
MrBeast
Рет қаралды 21 МЛН
Learn TypeORM in 10 Minutes
9:29
Code With Bubb
Рет қаралды 585
Let's build an app with Angular, Express and TypeORM!
59:04
Code With Bubb
Рет қаралды 703
Learn Bash Basics
22:27
James Champion
Рет қаралды 1,3 М.
How to use Pipes in Angular
7:01
Code With Bubb
Рет қаралды 264
Does ANYONE Understand How This Works in JavaScript?
3:58
Code With Bubb
Рет қаралды 248
Setup Htop The Correct Way
12:48
James Champion
Рет қаралды 1,1 М.
How Can Fuzzing Help You Find Hidden API Endpoints?
9:18
Chaining tools with pipes - Learn Linux (Lesson 10)
8:06
KevRunsOnDunkin
Рет қаралды 248
2-Way Data Binding in Angular
8:46
Code With Bubb
Рет қаралды 220