Git Cheat Sheet
From Wayne's Dusty Box of Words
Setup & Connections | |
---|---|
git remote add origin <YourRemoteURL>
|
Connect to a remote repository |
git remote -v
|
List remote link |
git remote rm <YourRemoteURL>
|
Remove remote link |
git config --[local | global] user.name
|
Display the committer name in gitconfig |
git config --[local | global] user.email
|
Display the committer email in gitconfig |
git config --[local | global] user.name "Your Name"
|
Set the committer name in gitconfig |
git config --[local | global] user.email "Your Email"
|
Set the committer email in gitconfig |