Tumgik
#codewithcoffee
rehman-coding · 1 year
Photo
Tumblr media
𝟏𝟎 𝐌𝐮𝐬𝐭-𝐊𝐧𝐨𝐰 𝐆𝐢𝐭 𝐂𝐨𝐦𝐦𝐚𝐧𝐝𝐬 𝐓𝐡𝐚𝐭 𝐚𝐫𝐞 𝐤𝐧𝐨𝐰𝐧 𝐛𝐲 𝐟𝐞𝐰𝐞𝐫 𝐩𝐞𝐨𝐩𝐥𝐞 (newbie). 𝟏. 𝐀𝐝𝐝/𝐂𝐨𝐦𝐦𝐢𝐭 𝐀𝐥𝐥 Standard way: git add . git commit -m "Message" Another way: git commit -a -m "Message" 𝟐. 𝐀𝐥𝐢𝐚𝐬𝐞𝐬 With aliases, you can write your own Git commands that do anything you want. Eg: git config --global alias.ac '!git add -A && git commit -m' (alias called ac, git add -A && git commit -m will do the full add and commit) 𝟑. 𝐑𝐞𝐯𝐞𝐫𝐭 The revert command simply allows us to undo any commit on the current branch. Eg: git revert 486bdb2 Another way: git revert HEAD (for recent commits) 𝟒. 𝐑𝐞𝐟𝐥𝐨𝐠 This command lets you easily see the recent commits, pulls, resets, pushes, etc on your local machine. Eg: git reflog 𝟓. 𝐏𝐫𝐞𝐭𝐭𝐲 𝐋𝐨𝐠𝐬 Gives you the ability to print out a pretty log of your commits/branches. Eg: git log --graph --decorate --oneline 𝟔. 𝐒𝐞𝐚𝐫𝐜𝐡𝐢𝐧𝐠 𝐋𝐨𝐠𝐬 One can also use the log command to search for specific changes in the code. Eg: git log -S "A promise in JavaScript is very similar" 𝟕. 𝐒𝐭𝐚𝐬𝐡 This command will stash (store them locally) all your code changes but does not actually commit them. Eg: git stash 𝟖. 𝐑𝐞𝐦𝐨𝐯𝐞 𝐃𝐞𝐚𝐝 𝐁𝐫𝐚𝐧𝐜𝐡𝐞𝐬 This command will delete all the tracking information for branches that are on your local machine that are not in the remote repository, but it does not delete your local branches. Eg: git remote update --prune 𝟗. 𝐁𝐢𝐬𝐞𝐜𝐭 For finding which commits caused certain bugs Eg: git bisect start git bisect bad git bisect good 48c86d6 𝟏𝟎. 𝐃𝐞𝐬𝐭𝐫𝐨𝐲 𝐋𝐨𝐜𝐚𝐥 𝐂𝐡𝐚𝐧𝐠𝐞𝐬 One can wipe out all changes on your local branch to exactly what is in the remote branch. Eg: git reset --hard origin/main 🚀 Follow @rehman_coding for more daily web development tips and tricks. #content #webdev #coding #css #webdevelopment #comment #contentcreation #devcontent #frontend #frontenddevelopment #HTML #Javascript #react #codewithcoffee #grid #codewithcoffeeindia #future #share #connections #like #css3 #csstip #html #htmltip #csslayout #cssgrid #grid #cssgrid #gridlayout #terminology Ruby, etc. (at I-8 Markaz Islamabad) https://www.instagram.com/p/Coo4IHtg9Wc/?igshid=NGJjMDIxMWI=
4 notes · View notes
trendingdiveos-blog · 6 years
Photo
Tumblr media
Bug spotted in my code 😁😂😃😄 . . . . #webdeveloper #webdevelopment #website #web #bugs #bugfix #aws #php #laravel #laravel5 #javascript #programmers #programminglife #programmingisfun #codewithcoffee #codewithdiet #codinggeek #codingisfun #instadeveloper #instagood #instagram #trending #nerd #geek #tech #technology
1 note · View note
rehman-coding · 1 year
Photo
Tumblr media
Programming Languages VS Scripting Languages --------------------------------------- --------------------------------------- Most programming languages require the code to be compiled into machine code before it can be executed. --------------------------------------- Scripting languages are interpreted and executed line by line. Many programming languages have strict typing, where variables must be declared with a speciic data type. --------------------------------------- Scripting languages often have dynamic typing, where the data type of a variable is determined at runtime. Programming languages often require manual memory management. --------------------------------------- Scripting languages have automatic memory management. Due to their compiled nature, programming languages can be faster than scripting languages. --------------------------------------- Scripting languages are usually easier to develop with and faster to write. 📌Just like Flexbox containers we have Grid containers but have different container properties. ⇒ Simplifying GRID layout for you in this post ♥️ Hit like, if you found it useful!! 🔖 Save it for the future 📤 Share it with your connections 💭 Comment your thoughts 🚀 Follow @rehman_coding for more daily web development tips and tricks. #content #webdev #coding #css #webdevelopment #comment #contentcreation #devcontent #frontend #frontenddevelopment #HTML #Javascript #react #codewithcoffee #grid #codewithcoffeeindia #future #share #connections #like #css3 #csstip #html #htmltip #csslayout #cssgrid #grid #cssgrid #gridlayout #terminology https://www.instagram.com/p/CoiU3fRAPrz/?igshid=NGJjMDIxMWI=
2 notes · View notes
rehman-coding · 1 year
Photo
Tumblr media
📌Just like Flexbox containers we have Grid containers but have different container properties. ⇒ Simplifying GRID layout for you in this post ♥️ Hit like, if you found it useful!! 🔖 Save it for the future 📤 Share it with your connections 💭 Comment your thoughts 🚀 Follow @rehman_coding for more daily web development tips and tricks. #content #webdev #coding #css #webdevelopment #comment #contentcreation #devcontent #frontend #frontenddevelopment #HTML #Javascript #react #codewithcoffee #grid #codewithcoffeeindia #future #share #connections #like #css3 #csstip #html #htmltip #csslayout #cssgrid #grid #cssgrid #gridlayout #terminologytuesday https://www.instagram.com/p/Coc7aQBS9r0/?igshid=NGJjMDIxMWI=
0 notes
trendingdiveos-blog · 6 years
Photo
Tumblr media
When coding is life 😇😇 . . . . #webdeveloper #webdevelopment #web #php #laravel #laravel5 #codingislife #codingisfun #programmerslife #programming #programmingisfun #codewithcoffee #codinggeek #coderlogic #javascript #developer
1 note · View note
trendingdiveos-blog · 6 years
Photo
Tumblr media
New year art 🤒 . . . . #website #web #webdeveloper #webdevelopment #artist #art #php #laravel5 #laravel #javascript #programmers #programmerslife #programmingisfun #programming #codewithcoffee #codinggeek #nerd #geek #trending #instadeveloper #instagood
1 note · View note
trendingdiveos-blog · 6 years
Photo
Tumblr media
What is better! #skype or #slack for professional use ?? Mine favourite is #slack 🙂😎 . . . . #website #web #webdeveloper #webdevelopment #php #laravel5 #laravel #javascript #codewithcoffee #codewithdiet #codinggeek #programmers #programmerslife #programming #instadeveloper #instagood #trendingdeveloper #trending #trends #hashtag
1 note · View note
trendingdiveos-blog · 6 years
Photo
Tumblr media
It's a big day 😂😂 Some how managed to take some time of my so called busy schedule 😎😋 Got hair cut after 3 months 🙂☺ . . . . #haircut #style #barber #fashion #webdeveloper #webdevelopment #web #webdev #laravel #php #laravel5 #hrml #javascript #aws #serverlife #programminglife #proprogrammer #programmingisfun #developer #developers #codinggeek #codewithdiet #codewithcoffee #coderpower #instadeveloper #instacode #instagood #trending #trendingdeveloper (at Mohafiz Town Phase 2)
0 notes
trendingdiveos-blog · 6 years
Photo
Tumblr media
Boss with the Boss 😎😊 Old is Gold 😘 Anyone else using these #boss #devices ?? 🤗 . . . . #webdeveloper #webdevelopment #website #webgeek #web #php #laravel #laravel5 #nokia #hp #intel #aws #programmers #programminglife #programmerslife #codewithcoffee #codingisfun #instadeveloper #instacode #instagood #trending #hashtag
0 notes
trendingdiveos-blog · 6 years
Photo
Tumblr media
How many of us has used this #legendary #website when there were not too many #tutorials to help 😁🙂☺ . . . . #webdeveloper #webdevelopment #webserver #web #php #laravel #laravel5 #programmers #programmerslife #programmingisfun #programming #programminglife #codewithcoffee #codingisfun #codinggeek #coding #code #instadeveloper #instagood #trending #w3schools
0 notes
trendingdiveos-blog · 6 years
Photo
Tumblr media
Which Car are you driving right now?? 🙂 mine is #fiat 😂😬😬😬 . . . . #web #webdeveloper #webdevelopment #website #php #laravel5 #laravel #codewithcoffee #codewithdiet #coder #codinggeek #codingislife #programmers #programmer #programmerslife #nerd #geek #instadeveloper #instagood #trending #hashtag
0 notes
trendingdiveos-blog · 6 years
Photo
Tumblr media
#trello is an awesome platform to manage project new tasks and pending #bugs . . . . #webdeveloper #web #webdevelopment #trello #programmers #programmer #programmingisfun #programming #php #laravel5 #laravel #codewithdiet #codewithcoffee #codingislife #coder #trending #instadeveloper #instagood
0 notes
kevallangalia · 7 years
Photo
Tumblr media
Ohh I love when these things come togather. #Code #coffee #Book #Mumbai #ccd #CodeWithCoffee #cafecoffeeday #frappe #choco #alchemist #thealchemist #paulocoelho #India #loveforcoffee (at Ghatkopar)
0 notes
trendingdiveos-blog · 6 years
Photo
Tumblr media
Was just going through best selling product trends on #amazon & those were jaw dropping 🤔🤐 . . . . #webdeveloper #webdevelopment #web #webserver #webmaster #programmers #programminglife #programmingisfun #programming #php #laravel #laravel5 #coffee #codewithcoffee #codewithme #codinggeek #coders #tech #technology #aws #geek #nerd #instadeveloper #instagood #trending #hashtag
1 note · View note
trendingdiveos-blog · 6 years
Photo
Tumblr media
#happiness is when you get #free cup of #coffee at #office 😂😎 . . . . #mufta #webdeveloper #webdevelopment #webdev #php #laravel #laravel5 #javascript #html #codewithcoffee #codinggeek #coding #officelife #geek #nerd #technews #tech #programminglife #proprogrammer #programmingisfun #instadeveloper #instacode #instagood #trendingdeveloper (at Lahore, Pakistan)
0 notes
trendingdiveos-blog · 6 years
Photo
Tumblr media
Happy new year to all 😎🙂 . . . . #happynewyear #happynewyear2018 #developerlife #development #website #web #webdevelopment #php #laravel5 #laravel #programmers #programmerslife #programmingisfun #programming #codewithcoffee #codewithdiet #newyear #artist #developerart #javascript #nerd #codinggeek #geek #tech #technology #penart #calligraphy #trending #instadeveloper #instagood #hashtag
0 notes