Git

How to Use zsh Alias

It’s very convenient to use an alias instead of full command. So, let’s see how we can make some aliases for git command – To make an alias, open the terminal and write the command below – Write some aliases – alias gs=”git status”alias ga=”git add”alias gm=”git commit -m”alias bci=”brew cask install” Colse and save …

How to Use zsh Alias Read More »

Git Command

Go to the directory you want to initiate Git and then follow the commands: Initiate the git: git init Remove Git if you have initiated in a wrong place ( Be aware if there is another git in the subdirectory): rm -rf .git To add all the files(including subdirectory) to staging step: git add -A