That's a really amazing article there, just the way it was written and how things were explained.
I would like to add few Git alias hecks from my day to day productivity boosting tricks playbook: (on Mac)
[alias]
s = status
del = branch -D
co = checkout
cob = checkout -b
st = stash list
stp = stash pop
se = !git rev-list --all | xargs git grep -F
br = branch --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(contents:subject) %(color:green)(%(committerdate:relative)) [%(authorname)]' --sort=-committerdate
lg = !git log --pretty=format:\"%C(magenta)%h%Creset -%C(red)%d%Creset %s %C(dim green)(%cr) [%an]\" --abbrev-commit -30
Also, if you are frequently switching personal and work projects. You may have to maintain multiple git configs Here is the git config heck assuming all your work related projects are saved in /Documents/work/ folder and personal fun projects saved under /Documents/personal/ folder:
[includeIf "gitdir:~/Documents/work/"]
path = ~/.gitconfig-work
[includeIf "gitdir:~/Documents/personal/"]
path = ~/.gitconfig-personal
Great work, putting it all together. What is the difference between git fetch and git pull?
Great content BUSHRA NAZISH. I can't count how many Grandma's house scenarios I've had and felt useless without my PC. 😂 Wish I knew about this shortcut earlier.
Great Blog, Bushra. You put awesome effort into it 👏👏.
That's the best blog I've read on git.
So much info presented in a much interesting way.
Amazing one Bushra
A well written blog, Bushra!👏
Abdul Rauf Mustakim
ᴘʟᴀʏ ᴄᴏᴅᴇ ғᴀɪᴛʜғᴜʟʟʏ 👨💻 #𝑐𝑜𝑑𝑒
git commit -am "An easy way!"not working with me. is anything need to setup ? pls advice