Git Cheat Sheet

From Wayne's Dusty Box of Words
Revision as of 17:54, 22 October 2020 by Wprecht (talk | contribs) (Created page with "{| class="wikitable" |+ !Setup & Connections ! |- |<code>git remote add origin <YourRemoteURL></code> |Connect to a remote repository |- |<code>git remote -v</code> |List rem...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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