Top 20 Git Commands You Should Know:
1. 𝐠𝐢𝐭 𝐢𝐧𝐢𝐭: Initializes a new Git repository
- Example: git init my-new-project
2. 𝐠𝐢𝐭 𝐜𝐨𝐧𝐟𝐢𝐠: Set git configuration values like username/email
- Example: git config --global user .name "user123"
3. 𝐠𝐢𝐭 𝐜𝐥𝐨𝐧𝐞: Creates a copy of a remote repository
- Example: git clone remote_url
4. 𝐠𝐢𝐭 𝐫𝐞𝐦𝐨𝐭𝐞: Manages connections to remote repositories
- Example: git remote add origin remote_url
5. 𝐠𝐢𝐭 𝐬𝐭𝐚𝐭𝐮𝐬: Shows the current state of your working directory
- Example: git status
6. 𝐠𝐢𝐭 𝐚𝐝𝐝: Adds files to the staging area
- Example: git add file.js
7. 𝐠𝐢𝐭 𝐜𝐨𝐦𝐦𝐢𝐭: Record changes to local repository
- Example: git commit -m "Fix navigation bug"
8. 𝐠𝐢𝐭 𝐩𝐮𝐬𝐡: Uploads local commits to a remote repository
- Example: git push origin main
9. 𝐠𝐢𝐭 𝐩𝐮𝐥𝐥: Fetches and integrates changes from a remote repository
- Example: git pull origin main
10. 𝐠𝐢𝐭 𝐟𝐞𝐭𝐜𝐡: Downloads latest changes from a remote repository without merging
- Example: git fetch origin
11. 𝐠𝐢𝐭 𝐛𝐫𝐚𝐧𝐜𝐡: Lists, creates, or deletes branches
- Example: git branch feature/login
12. 𝐠𝐢𝐭 𝐜𝐡𝐞𝐜𝐤𝐨𝐮𝐭: Switches branches or restores files
- Example: git checkout feature/login
13. 𝐠𝐢𝐭 𝐦𝐞𝐫𝐠𝐞: Combines changes from different branches
- Example: git merge feature/login
14. 𝐠𝐢𝐭 𝐫𝐞𝐛𝐚𝐬𝐞: Reapplies commits on top of another base
- Example: git rebase main
15. 𝐠𝐢𝐭 𝐥𝐨𝐠: Shows commit history
- Example: git log --oneline --graph
16. 𝐠𝐢𝐭 𝐝𝐢𝐟𝐟: Shows differences between commits, branches, etc.
- Example: git diff HEAD~1 HEAD
17. 𝐠𝐢𝐭 𝐬𝐭𝐚𝐬𝐡: Temporarily stores uncommitted changes
- Example: git stash save "WIP: feature implementation"
18. 𝐠𝐢𝐭 𝐫𝐞𝐬𝐞𝐭: Undoes changes by moving HEAD
- Example: git reset --soft HEAD~1
19. 𝐠𝐢𝐭 𝐫𝐞𝐯𝐞𝐫𝐭: Creates a new commit that undoes a change
- Example: git revert abc123f
20. 𝐠𝐢𝐭 𝐜𝐡𝐞𝐫𝐫𝐲-𝐩𝐢𝐜𝐤: Applies specific commit from another branch
- Example: git cherry-pick abc123f
♻️ Repost to help others in your network.
Microsoft open-sourced a no-code data analysis tool!
Introducing Data Formulator, an LLM-powered, no-code tool that transforms data in a snap and creates stunning visualizations using AI.
100% open source
நண்பர்களே😍
நான் முக்கியமான ஒன்றைப் பற்றி பேச விரும்புகிறேன் - நீரிழிவு மற்றும் உங்கள் கண்கள்.
நீங்கள் நீரிழிவு நோயுடன் வாழ்கிறீர்கள் என்றால், இது இரத்த சர்க்கரையை நிர்வகிப்பது மட்டுமல்ல. நீரிழிவு நோயானது நீரிழிவு ரெட்டினோபதிக்கு வழிவகுக்கும், இது கடுமையான பார்வைப் பிரச்சினைகளை ஏற்படுத்தும், குருட்டுத்தன்மையையும் கூட ஏற்படுத்தும்.
ஆனால் இதோ ஒரு நல்ல செய்தி:
வழக்கமான கண் பரிசோதனைகள் மூலம், நீரிழிவு ரெட்டினோபதியை ஆரம்பத்திலேயே கண்டுபிடித்து உங்கள் பார்வையைப் பாதுகாக்க உதவலாம்.
இன்று நவம்பர் 14ஆம் தேதி உலக நீரிழிவு தினம் என்பதால் கண் பரிசோதனைக்கு நேரம் ஒதுக்குமாறு உங்களை ஊக்குவிக்கிறேன். உங்களுக்கு நீரிழிவு நோய் இருந்தால், அல்லது யாரையாவது அறிந்திருந்தால், உங்கள் பார்வையைப் பாதுகாக்க நடவடிக்கையை எடுக்கவும்.
ஒரு எளிய, வருடாந்திர கண் பரிசோதனை அனைத்து வித்தியாசத்தையும் ஏற்படுத்தும்.
இந்தச் செய்தியைப் பரப்பி, ஒளிமயமான எதிர்காலத்தைக் காண அனைவருக்கும் உதவுவோம்.
நன்றி.
#WorldDiabetesDay #Sankara Nethralaya
NVIDIA is offering GenAI courses and training accessible from anywhere in the world.
Here are 10 must-take courses you can't afford to miss in 2024!
🔖 [Bookmark this post for later]
LEANDER CITY COUNCIL MEETING
DATE: Thursday, May 16
TIME: Workshop Briefing: 5:30 p.m.; Regular Meeting: 7 p.m.
PLACE: Pat Bryson Municipal Hall, 201 N. Brushy St.
AGENDA: https://t.co/zjt1o2mKSF
PREVIEW: https://t.co/fdcz6Yvd8t
LIVE STREAM: https://t.co/C82PjawvaV