| Done |
Easy Know Git
| step | type | why |
|---|---|---|
| git clone https://github.com/git/git.git | Get Link From - Github Repositories <>code Clone HTTPS | Copy To Terminal Now Path |
|
git add . |
. = All Change File And Not Empty Folder index.html = One File |
Set File Ready For UpLoad If Change | Beed Do Again |
|
git commit -m "Initial commit" |
"" Can Tpye AnyThing |
Note This Time Why Upload Must Type | If Not Type | Turn To | git add | Step |
| git push origin master:main |
git push remotename localbranch:remotebranch Default Remote name | origin Local Default Branch | master Github Default Branch | main Check Remote | git remote -v Set Remote | git remote set-url origin https://github.com/git/git.git Add Remote | git remote add main https://github.com/git/git.git Remove Remote | git remote remove origin |
UpLoad Ready File |
Let's Fix SomeThing
| ECHO | WHY | HOW |
|---|---|---|
| Everything up-to-date |
Not add Or Not commit commit Can't Empty |
git add . git commit -m "Initial commit" |
|
On branch main Your branch is up to date with 'origin/main'. nothing to commit, working tree clean |
Check Save New File Check commit Have Message |
Ctrl S Save File git commit -m "Initial commit" |
| Author identity unknown | Up Thing Need Name - Generation Z |
git config --global user.email "code@github.git" git config --global user.name "code" |