Snippets that make my life little bit easier while working with Git.

Here’s a list of Git puns

“Git on with it”

“A little Git of everything!”

“The Git that keeps on giving.”

Working with remote

When you have a fork of a repository, you might want to sync it with one another. This can be done using git remotes

# list all remotes
git remote -v

# change remote url
git remote set-url <name of remote> <new url>

# Add new remote url
git remote add <name of remote> <url>

# rename remote
git remote rename <old name> <new name>