Make Local Changes and Update remote Repositories
Jump to navigation
Jump to search
↑ http://man7.org/linux/man-pages/man1/git-add.1.html
↑ http://man7.org/linux/man-pages/man1/git-remote.1.html
↑ https://git-scm.com/docs/git-push
Steps: git add -> git commit -> git push
Example[edit]
Add local changes.
- Stage/add files:
- Commit changes"
- Commit changes into the local repository using the command:
git commit -m "<some message>"
- Commit changes into the local repository using the command:
- Connect to a remote repository.
- Connect to a remote repository using the command:
git remote add <name> <url>[2]
- Connect to a remote repository using the command:
- Push changes to a remote repository.
- Push changes from your local repository to a remote repository using the command:
git push[3] orgit push origin master
- Push changes from your local repository to a remote repository using the command:
Activities[edit]
See also[edit]
git push[-v|--set-upstream | -o | --set-upstream origin master|-u origin main|origin master|-u origin master|--delete master|-u | origin HEAD | --dry-run], Git: upstream,git push --force
Advertising: