Sign in
Log inSign up
BUSHRA NAZISH

202 likes

·

16.3K reads

31 comments

Aditya Tripathi
Aditya Tripathi
May 4, 2022

Insightful blog Bushra, get to know lots of tricks & tips✌️.

3
·
·1 reply
BUSHRA NAZISH
BUSHRA NAZISH
Author
·May 4, 2022

Glad it helped Aditya 👋😄

·
Pavan Gudiwada
Pavan Gudiwada
May 4, 2022

A well written blog, Bushra!👏

2
·
·1 reply
BUSHRA NAZISH
BUSHRA NAZISH
Author
·May 4, 2022

Thanks Pavan 🙌😄

1
·
Bhavya Sachdeva
Bhavya Sachdeva
May 4, 2022

Amazing blog Bushra! 😃👏

2
·
·1 reply
BUSHRA NAZISH
BUSHRA NAZISH
Author
·May 4, 2022

Thanks a lot Bhavya 🤩🙌

·
Srinivas Karnati
Srinivas Karnati
May 4, 2022

That's the best blog I've read on git.

So much info presented in a much interesting way.

Amazing one Bushra

2
·
·1 reply
BUSHRA NAZISH
BUSHRA NAZISH
Author
·May 4, 2022

Thanks for the appreciation Srinivas 🙌😄

·
Barkatul Mujauddin
Barkatul Mujauddin
May 4, 2022

Awesome blog!

2
·
·1 reply
BUSHRA NAZISH
BUSHRA NAZISH
Author
·May 4, 2022

Thanks Barkatul ✌️😄

·
Anurag Kumar
Anurag Kumar
May 4, 2022

Nicely Explained

2
·
·1 reply
BUSHRA NAZISH
BUSHRA NAZISH
Author
·May 4, 2022

Thank you so much Anurag 🙌🤩

·
Vaidansh Bhardwaj
Vaidansh Bhardwaj
May 4, 2022

Greatly written blog 🙌

2
·
·1 reply
BUSHRA NAZISH
BUSHRA NAZISH
Author
·May 4, 2022

Thanks a ton Vaidansh 🙌😄

1
·
Lavakush Biyani
Lavakush Biyani
May 5, 2022

Well written👌 and learnt a quite new things ✅🙌

2
·
·1 reply
BUSHRA NAZISH
BUSHRA NAZISH
Author
·May 5, 2022

Thanks Lavakush 🙌🤩 Glad it helped ✨

·
Pradumna Saraf
Pradumna Saraf
May 5, 2022

Great Blog, Bushra. You put awesome effort into it 👏👏.

2
·
·1 reply
BUSHRA NAZISH
BUSHRA NAZISH
Author
·May 5, 2022

Thank you so much Pradumna for your valuable feedback 😍🙏 It means a lot 🙌

·
Hyerim Y
Hyerim Y
May 5, 2022

❤️ Thanks for the tips :) Nice ! 👍

2
·
·1 reply
BUSHRA NAZISH
BUSHRA NAZISH
Author
·May 5, 2022

Glad it helped Hyerim😇🙌

·
Victor Eke
Victor Eke
May 5, 2022

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.

2
·
·1 reply
BUSHRA NAZISH
BUSHRA NAZISH
Author
·May 6, 2022

Thank you so much Victor👍 I'm glad you found it useful 🙌 😅

2
·
Jitendra Singh
Jitendra Singh
May 6, 2022

Great work, putting it all together. What is the difference between git fetch and git pull?

2
·
·1 reply
BUSHRA NAZISH
BUSHRA NAZISH
Author
·May 6, 2022

Thanks Jitendra :)

A great question. Well! As far as I know,

  • Git Pull downloads the content from the remote repository and also merges the new commits into our working branch
  • Whereas, Git Fetch just copies content from the remote into the local repository.

So, Git Fetch can be considered as a harmless option as our working branch is not altered and our uncommitted work is secure.

Here's a helpful blog on it: freecodecamp.org/news/git-fetch-vs-pull

·
Kallol Das
Kallol Das
May 6, 2022

I would like to add few Git alias hecks from my day to day productivity boosting tricks playbook: (on Mac)

vi ~/.gitconfig

[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
2
·
·1 reply
BUSHRA NAZISH
BUSHRA NAZISH
Author
·May 6, 2022

Thanks a lot for adding Kallol🙌🤩

·
Naman Tiwari
Naman Tiwari
May 6, 2022

Just wow!

2
·
·1 reply
BUSHRA NAZISH
BUSHRA NAZISH
Author
·May 7, 2022

Thanks Naman 🌸

·
Manish Kumar Gupta
Manish Kumar Gupta
May 10, 2022

That's a really amazing article there, just the way it was written and how things were explained.

2
·
·1 reply
BUSHRA NAZISH
BUSHRA NAZISH
Author
·May 10, 2022

I'm glad you liked it 🙏 Grateful for your kind words 🙌😄

·
Abdul Rauf Mustakim
Abdul Rauf Mustakim
Jun 3, 2022
git commit -am "An easy way!"

not working with me. is anything need to setup ? pls advice

·