git-cheatsheet-for-beginners
git-cheatsheet-for-beginners
git
FOR ABSOLUTE
Beginners
Download from: Created by:
git-scm.com courses.davegray.codes
Config settings:
git config --global user.name "Your Name" File >> Preferences >> Settings
"exclude"
git config --global user.email "[email protected]" Files:Exclude --> Remove **/.git
git
FOR ABSOLUTE
Beginners
Create new repo: Created by:
git init courses.davegray.codes
git
FOR ABSOLUTE
Beginners
Created by: YouTube Channel:
courses.davegray.codes @DaveGrayTeachesCode
Untracked File Status:
Files not yet added to repository.
VS Code displays a U beside the filename.
git
FOR ABSOLUTE
Beginners
Created by: YouTube Channel:
courses.davegray.codes @DaveGrayTeachesCode
Basic Workflow in Git:
1. Create new files or make changes to existing files.
2. git commit -a -m "Short detail message about changes"
3. git push (to send code updates to GitHub repo)
Keep Git from Asking for Credentials with every git push:
git config --global credential.helper 'cache --timeout=3600'