mirror of
https://github.com/cheat/cheat.git
synced 2024-11-22 22:11:35 +01:00
19 lines
431 B
Plaintext
19 lines
431 B
Plaintext
# To set your identify:
|
|
git config --global user.name "John Doe"
|
|
git config --global user.email johndoe@example.com
|
|
|
|
# To enable color:
|
|
git config --global color.ui true
|
|
|
|
# To stage all changes for commit:
|
|
git add --all
|
|
|
|
# To commit staged changes
|
|
git commit -m "Your commit message"
|
|
|
|
# To push to the tracked master branch:
|
|
git push origin master
|
|
|
|
# To push to a specified repository:
|
|
git push git@github.com:username/project.git
|