Professional Documents
Culture Documents
Upload
Upload
When you clone a repository with git clone, it automatically creates a remote
connection called origin pointing back to the cloned repository. This is useful for
developers creating a local copy of a central repository, since it provides an easy
way to pull upstream changes or publish local commits. This behavior is also why
most Git-based projects call their central repository origin.
https://www.atlassian.com/git/tutorials/syncing/git-pull
git init
git status --status of GIT
git add
git commit -m "...."
git remote add origin URL
git push -u origin master/Mybranch
git log
git --help
Create branch
git branch "branch name"
Checkout branch
git checkout "branch name"
then push
Delete branch
git branch -d "branch name" --delete from local
git push origin --delete "branch name" --delete from remote
===================GIT Tagging============================
Checkout GIT
git checkout master