Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 879 Bytes

File metadata and controls

37 lines (26 loc) · 879 Bytes

test-today-git

Testing whether git is working for a upcoming project
Author - om mayekar (mayekarbro)

git config --global user.name "My Name" git config --global user.email " git config --global user.na

CLONE AND STATUS Clone - Cloning a repository on yoor local machine git clone <- some link ->

Status - displays the state of the code git status

untracked - new files that git doesnt yet track modified - changed staged - file is ready to be committed unmodified - unchanged

changed(modified) / newfile(untracked) ------> add(staged) ------> commit(unchanged)

ADD & COMMIT Add - adds new or changed files in your working directory to the git staging area git add <- file name -> git add. (for all the changes)

Commit - it is the record of change git commit -m "some message"

PUSH COMMAND push - upload local repo content to remote repo git push origin main