Coder Baba
2.41K subscribers
1.01K photos
23 videos
722 files
723 links
Everything about programming for beginners.
1 and only official telegram channel of CODERBABA India.

Content:
.NET Developer,
Programming (ASP. NET, VB. NET, C#, SQL Server),
& Projects
follow me https://linktr.ee/coderbaba
*Programming
*Coding
*Note
Download Telegram
Getting Started with Git

🎯𝗴𝗶𝘁 𝗶𝗻𝗶𝘁: This is the very first command you'll need to use when starting a new project. It initializes a new Git repository in your current directory.

🎯𝗴𝗶𝘁 𝗰𝗹𝗼𝗻𝗲 <𝗿𝗲𝗽𝗼> : To work on an existing project you'll want to clone (copy) it to your local machine. This command does that.

𝗠𝗮𝗸𝗲 𝗖𝗵𝗮𝗻𝗴𝗲𝘀

🎯𝗴𝗶𝘁 𝘀𝘁𝗮𝘁𝘂𝘀: Before making or after making changes it's good practice to check the status of your files. This command will show you any changes that are currently unstaged.

🎯𝗴𝗶𝘁 𝗮𝗱𝗱 <𝗳𝗶𝗹𝗲𝗻𝗮𝗺𝗲> : After you've made some changes to your files you'll want to stage them for a commit. This command adds a specific file to the stage.

🎯𝗴𝗶𝘁 𝗮𝗱𝗱 . 𝗼𝗿 𝗴𝗶𝘁 𝗮𝗱𝗱 -𝗔: Instead of adding files one by one, you can add all your changed files to the stage with one command.

🎯𝗴𝗶𝘁 𝗰𝗼𝗺𝗺𝗶𝘁 -𝗺 "𝗖𝗼𝗺𝗺𝗶𝘁 𝗺𝗲𝘀𝘀𝗮𝗴𝗲": Now that your changes are staged, you can commit them with a descriptive message.

𝗕𝗿𝗮𝗻𝗰𝗵𝗶𝗻𝗴

git branch branch_name: This command is used to create new branch.

🎯𝗴𝗶𝘁 𝗯𝗿𝗮𝗻𝗰𝗵: This command will list all the local branches in your current repository.

🎯𝗴𝗶𝘁 𝗯𝗿𝗮𝗻𝗰𝗵 <𝗯𝗿𝗮𝗻𝗰𝗵𝗻𝗮𝗺𝗲> : This command creates a new branch.

🎯𝗴𝗶𝘁 𝗰𝗵𝗲𝗰𝗸𝗼𝘂𝘁 <𝗯𝗿𝗮𝗻𝗰𝗵𝗻𝗮𝗺𝗲> : If you want to switch to a different branch use this command.

🎯𝗴𝗶𝘁 𝗺𝗲𝗿𝗴𝗲 <𝗯𝗿𝗮𝗻𝗰𝗵𝗻𝗮𝗺𝗲> : Once you've finished making changes in a branch, you'll want to bring those changes into your main branch (usually master). This command does that.

𝗥𝗲𝗺𝗼𝘁𝗲 𝗥𝗲𝗽𝗼𝘀𝗶𝘁𝗼𝗿𝗶𝗲𝘀

🎯𝗴𝗶𝘁 𝗽𝘂𝘀𝗵 𝗼𝗿𝗶𝗴𝗶𝗻 <𝗯𝗿𝗮𝗻𝗰𝗵𝗻𝗮𝗺𝗲> : This command sends your commits to the remote repository.

🎯𝗴𝗶𝘁 𝗽𝘂𝗹𝗹: If other people are also working on your project you'll want to keep your local repo up-to-date with their changes. This command fetches and merges any changes from the remote repository.

🎯𝗴𝗶𝘁 𝗿𝗲𝗺𝗼𝘁𝗲 -𝘃 : To check which remote servers are connected with your local repository.

𝗞𝗲𝘆 𝗗𝗶𝗳𝗳𝗲𝗿𝗲𝗻𝗰𝗲𝘀

🎯𝗴𝗶𝘁 𝗳𝗲𝘁𝗰𝗵 𝘃𝘀 𝗴𝗶𝘁 𝗽𝘂𝗹𝗹: Both download data from a remote repository. However, git fetch just downloads it without integrating it while git pull also merges it into your local files.

🎯𝗴𝗶𝘁 𝗺𝗲𝗿𝗴𝗲 𝘃𝘀 𝗴𝗶𝘁 𝗿𝗲𝗯𝗮𝘀𝗲: Both incorporate changes from one branch to another. git merge combines the source and target branches via a new commit, whereas git rebase moves or combines commits to a new base, making a cleaner history.

🎯𝗴𝗶𝘁 𝗿𝗲𝘀𝗲𝘁 𝘃𝘀 𝗴𝗶𝘁 𝗿𝗲𝘃𝗲𝗿𝘁: Both are used to undo changes. git reset discards local changes completely, while git revert undoes public changes by creating a new reversing commit thereby preserving history.

Git is an extremely powerful tool with plenty more commands and options.
However, this guide gives you a good start & reference point as you continue to explore and leverage Git for your version control needs.

#developers #learners #learning #coding #programming #programmers #coderbaba follow @coder_baba
🚀 Are you curious about the basics of .NET Technology? Check out this insightful video! 🎥

Whether you're a seasoned developer or just starting your journey in tech, understanding .NET is essential. This video covers fundamental topics such as the .NET Framework, JIT compiler, and more.

Watch the video here: https://youtu.be/aLsDDTpxGSo?si=zCXdFi7DLm1KKJwG

Topics covered include:
00:01 Introduction
🔍 00:48 Full Stack Developer
📝 01:53 Course Detailed
💡 03:45 Introduction to .NET Framework
💻 07:55 What .NET Represents
🛠 09:12 What is Framework
🔧 10:30 JIT Compiler
🚫 11:42 What is Not .NET
🔍 12:35 What is DOTNET in ASP.NET
📚 20:48 DotNet Framework

Don't miss out on this opportunity to enhance your .NET skills! Hit like 👍, subscribe to the channel, and share with your friends. Let's learn and grow together! 💪
@coder_baba #coderbaba #coder_baba #dotnet #technology #learning #development #softwareengineering
👍42