Professional Documents
Culture Documents
Diary TOGit and Github
Diary TOGit and Github
Diary TOGit and Github
If you have removed any file then that file will go the
untracked are.
It should be staged even it's deleted then commited Then git
will not record it anymore.
git diff: This will compare Working tree with staging area.
Means last changes vs current changes.
Remember you have not used git add(For adding the files to
stagging area), once you used git add
with latest changes there will be no difference to show.
git diff --staged: If you want to compare staging area with last
commit.
git remote add origin url: means the url has been names as
origin.
git remote -v: show the URLs that Git has stored as a short
name(origin)
gti push origin master: means push the origin to master
branch.