Daily Git Command I use

Initiation Repositorygit init
Staging all files inside the repository (for initial commit)git add .
Commitgit commit -m “[commit message]”
Listing remote repositorygit remote -v / git remote
Adding remote repository git remote add [remote name] [remote address]
Rename remote repositorygit remore rename [old name] [new name]
Push to remote repository (force)git push -f [remote name] [branch]

Leave a Reply

Your email address will not be published. Required fields are marked *