English |
ភាសាខ្មែរ
git clone [repo_url]
# Example: git clone https://github.com/samithseu/git-basic.gitgit clone [repo_url]
# Example: git clone https://gitlab.com/vuejs9055841/using-i18n.gitgit initgit statusgit add [file_name(s)]
# Example1: git add index.html style.css
# Example2: git add . (for adding all new changed files)git commit -m [messages]
# Example: git commit -m "initial commit"git branch -M [branch_name]
# Example: git branch -M maingit remote add [remote_name] [repo_url]
# Example: git remote add origin https://github.com/samithseu/git-basicgit push [remote_name] [branch_name]
# Example: git push origin main